diff options
Diffstat (limited to 'controller/libexec/dtf-wait-for-ssh')
-rwxr-xr-x | controller/libexec/dtf-wait-for-ssh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/libexec/dtf-wait-for-ssh b/controller/libexec/dtf-wait-for-ssh index eb3880a..49b4bcd 100755 --- a/controller/libexec/dtf-wait-for-ssh +++ b/controller/libexec/dtf-wait-for-ssh @@ -4,8 +4,8 @@ where="$1" test -z "$where" && echo >&2 "no host specified" && exit 1 -while [ 1 ]; do - ssh -o StrictHostKeyChecking=no -q $where exit &>/dev/null && exit 0 +while true; do + ssh -o StrictHostKeyChecking=no -q "$where" exit &>/dev/null && exit 0 done exit 1 |