Run top-level ssh with -n
authorMartin Schwenke <martin@meltin.net>
Mon, 10 Oct 2016 04:35:33 +0000 (15:35 +1100)
committerMartin Schwenke <martin@meltin.net>
Mon, 10 Oct 2016 04:35:33 +0000 (15:35 +1100)
This stop it eating standard input.

Signed-off-by: Martin Schwenke <martin@meltin.net>
autocluster

index cb19976..b987a12 100755 (executable)
@@ -688,7 +688,7 @@ cluster_setup ()
     announce "cluster setup \"${CLUSTER}\""
     [ -n "$CLUSTER" ] || die "\$CLUSTER not set"
 
-    local ssh="ssh -o StrictHostKeyChecking=no"
+    local ssh="ssh -n -o StrictHostKeyChecking=no"
     local setup_clusterfs_done=false
     local setup_cluster_done=false