From b68445ade01409333287ea0a8e7dc91858b89845 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Thu, 23 Jan 2014 15:18:57 +0100 Subject: [PATCH] close stdin in an attempt to improve builds for deb/ubuntu that tend to hang when run in terminal --- lbuild-initvm.sh | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.43.0