From: Thierry Parmentelat Date: Thu, 23 Jan 2014 14:18:57 +0000 (+0100) Subject: close stdin in an attempt to improve builds for deb/ubuntu that tend to hang when... X-Git-Tag: before_libvirt_121~35 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=b68445ade01409333287ea0a8e7dc91858b89845 close stdin in an attempt to improve builds for deb/ubuntu that tend to hang when run in terminal --- diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 9e1b420b..3bdd9fae 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -1,6 +1,9 @@ #!/bin/bash # -*-shell-*- +# close stdin, as with ubuntu and debian VMs this script tends to hang and wait for input .. +0<&- + #shopt -s huponexit COMMAND=$(basename $0)