2
0
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:
Victor Hu 2017-12-06 23:07:50 -05:00
parent 14ba2d1f3c
commit 8df92b9825

View File

@ -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