From 640cf876c105aeaf71d388b06e299dd33fbb3146 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Mon, 3 Nov 2014 10:14:12 +0100 Subject: dtf-wait-for-ssh: s/while [ 1 ]/while true/ * controller/libexec/dtf-wait-for-ssh: Syntax lint. --- controller/libexec/dtf-wait-for-ssh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'controller/libexec') 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 -- cgit