mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-03 03:50:08 +00:00
fix the check for rc to 1 on error cases
This commit is contained in:
parent
14ba2d1f3c
commit
8df92b9825
@ -50,13 +50,13 @@ end
|
||||
|
||||
start:bmcdiscover_check_paswd
|
||||
cmd:bmcdiscover -i $$bmcrange -u $$bmcusername -p $$bmcpasswd --check
|
||||
check:rc==0
|
||||
check:rc==1
|
||||
check:output=~is not supported
|
||||
end
|
||||
|
||||
start:bmcdiscover_get_ipsource
|
||||
cmd:bmcdiscover -i $$bmcrange -u $$bmcusername -p $$bmcpasswd --ipsource
|
||||
check:rc==0
|
||||
check:rc==1
|
||||
check:output=~is not supported
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user