Avoid silent exit with set mode -e
This commit is contained in:
		| @ -21,8 +21,8 @@ checkup() { | ||||
|     while : | ||||
|     do | ||||
|       pinfo "Checking availability of node $host..." | ||||
|       ssh root@${hosts[$host]} <<< true &>/dev/null | ||||
|       if [ $? == 0 ]; then | ||||
|       if true | ssh root@${hosts[$host]}; | ||||
|       then | ||||
|         pinfo "VM $host is up!" | ||||
|         break | ||||
|       else | ||||
|  | ||||
		Reference in New Issue
	
	Block a user