diff options
author | Pavel Raiskup <praiskup@redhat.com> | 2014-11-03 10:14:12 +0100 |
---|---|---|
committer | Pavel Raiskup <praiskup@redhat.com> | 2014-11-03 10:14:12 +0100 |
commit | 640cf876c105aeaf71d388b06e299dd33fbb3146 (patch) | |
tree | 6bf64c57dbfad051061df69ec823bcae8d00b5d2 | |
parent | 4893731d9010991c9abc379a894b60da2924a09b (diff) | |
download | postgresql-setup-tests-640cf876c105aeaf71d388b06e299dd33fbb3146.tar.gz postgresql-setup-tests-640cf876c105aeaf71d388b06e299dd33fbb3146.tar.xz postgresql-setup-tests-640cf876c105aeaf71d388b06e299dd33fbb3146.zip |
dtf-wait-for-ssh: s/while [ 1 ]/while true/
* controller/libexec/dtf-wait-for-ssh: Syntax lint.
-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 |