From: Thierry Parmentelat Date: Wed, 29 Jan 2014 09:41:28 +0000 (+0100) Subject: have seen the script hanging when running ssh to invoke run_log - this ssh invokation... X-Git-Tag: before_libvirt_121~20 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=eea571bb9b41d90d6e9d4e2cf414830577e2e178 have seen the script hanging when running ssh to invoke run_log - this ssh invokation does not have -n any longer --- diff --git a/lbuild-nightly.sh b/lbuild-nightly.sh index 71263545..39afca25 100755 --- a/lbuild-nightly.sh +++ b/lbuild-nightly.sh @@ -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