]> gitweb.fluxo.info Git - hydra.git/commitdiff
Deploy: fix ssh connect error handling
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 30 Apr 2017 16:38:34 +0000 (13:38 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 30 Apr 2017 16:38:34 +0000 (13:38 -0300)
share/hydra/deploy

index aed00fc90d072921cbfaa01e024bc4991faeba3c..687ddafb24716efd0bd77802b2123cafdccbf0ab 100755 (executable)
@@ -120,8 +120,8 @@ for node in $NODES; do
     # http://stackoverflow.com/questions/3830508/check-if-passwordless-access-has-been-setup#3830680
     if ! $HYDRA_CONNECT -o NumberOfPasswordPrompts=0 $FQDN true; then
       echo "Unable to connect to $FQDN via SSH without a password."
-      echo "Please set a passwordless login for your user at $FQDN using public key auth."
-      exit 1
+      echo "Check network connection to machine or set a passwordless login for your user at $FQDN using public key auth."
+      continue
     fi
 
     # Check remote environment