Rev 668: fixed a problem with backgrounding onnnode in http://samba.org/~tridge/ctdb

tridge at samba.org tridge at samba.org
Mon Oct 22 11:11:02 GMT 2007


------------------------------------------------------------
revno: 668
revision-id: tridge at samba.org-20071022111102-7odvx5778zw3c184
parent: tridge at samba.org-20071022064111-v3s7tduciucdefbb
committer: Andrew Tridgell <tridge at samba.org>
branch nick: tridge
timestamp: Mon 2007-10-22 21:11:02 +1000
message:
  fixed a problem with backgrounding onnnode
modified:
  tools/onnode.ssh               onnode.ssh-20070530010004-83j66tszzvsimcn2-3
=== modified file 'tools/onnode.ssh'
--- a/tools/onnode.ssh	2007-05-30 01:00:43 +0000
+++ b/tools/onnode.ssh	2007-10-22 11:11:02 +0000
@@ -20,9 +20,9 @@
 if [ $NODE = "all" ]; then
     for a in `egrep '^[[:alnum:]]' $NODES`; do
 	if [ -f "$SCRIPT" ]; then
-	    ssh $a at -f $SCRIPT now
+	    ssh -n $a at -f $SCRIPT now
 	else
-	    ssh $a $SCRIPT
+	    ssh -n $a $SCRIPT
 	fi
     done
     exit 0
@@ -37,7 +37,7 @@
 a=`egrep '^[[:alnum:]]' $NODES | head -$NODEPLUSONE | tail -1`
 
 if [ -f "$SCRIPT" ]; then
-    exec ssh $a at -f $SCRIPT now
+    exec ssh -n $a at -f $SCRIPT now
 else
-    exec ssh $a $SCRIPT
+    exec ssh -n $a $SCRIPT
 fi



More information about the samba-cvs mailing list