have seen the script hanging when running ssh to invoke run_log - this ssh invokation...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 29 Jan 2014 09:41:28 +0000 (10:41 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 29 Jan 2014 09:41:28 +0000 (10:41 +0100)
lbuild-nightly.sh

index 7126354..39afca2 100755 (executable)
@@ -3,6 +3,9 @@
 COMMANDPATH=$0
 COMMAND=$(basename $0)
 
+# close stdin, as with ubuntu and debian VMs this script tends to hang and wait for input ..
+0<&-
+
 # old guests have e.g. mount in /bin but this is no longer part of 
 # the standard PATH in recent hosts after usrmove, so let's keep it simple
 export PATH=$PATH:/bin:/sbin