mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	fix the check for rc to 1 on error cases
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user