summaryrefslogtreecommitdiff
path: root/invoke_session_debian
diff options
context:
space:
mode:
Diffstat (limited to 'invoke_session_debian')
-rwxr-xr-xinvoke_session_debian4
1 files changed, 2 insertions, 2 deletions
diff --git a/invoke_session_debian b/invoke_session_debian
index ccc8355..05b735f 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -97,8 +97,8 @@ target_names=()
for lava_name in `lava-group | grep -v '[[:blank:]]*host$' | awk '{print $1}'`; do
echo "NAME ${lava_name}" > /dev/console
target_ip="$(lava-network query ${lava_name} ipv4)"
- if test $? -ne 0; then echo "Failed to find IP for ${lava_name}"; sleep infinity; exit 1; fi
- if test -z "${target_ip}"; then echo "Failed to find IP for ${lava_name}"; sleep infinity; exit 1; fi
+ if test $? -ne 0; then echo "Failed to find IP for ${lava_name}"; exit 1; fi
+ if test -z "${target_ip}"; then echo "Failed to find IP for ${lava_name}"; exit 1; fi
echo "IP ${target_ip}"
#Check that target is accessible, add it to our known_hosts,