aboutsummaryrefslogtreecommitdiffstats
path: root/iurt
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2014-05-04 20:34:03 +0000
committerPascal Terjan <pterjan@gmail.com>2014-05-04 20:34:18 +0000
commit7224b1f59c5650d19fb6601585f211348fc3a79b (patch)
tree4c421d510b2530d75be261223d1107ca6318fa87 /iurt
parent481dd45043755b12c3350ea11cd78d42cd3c5f7d (diff)
downloadiurt-7224b1f59c5650d19fb6601585f211348fc3a79b.tar
iurt-7224b1f59c5650d19fb6601585f211348fc3a79b.tar.gz
iurt-7224b1f59c5650d19fb6601585f211348fc3a79b.tar.bz2
iurt-7224b1f59c5650d19fb6601585f211348fc3a79b.tar.xz
iurt-7224b1f59c5650d19fb6601585f211348fc3a79b.zip
Don't close stdin if --stop is used (mga#13318)
Diffstat (limited to 'iurt')
-rwxr-xr-xiurt6
1 files changed, 4 insertions, 2 deletions
diff --git a/iurt b/iurt
index 3a3eeee..acf1ee8 100755
--- a/iurt
+++ b/iurt
@@ -698,8 +698,10 @@ if ($run{shell}) {
}
}
-# If not using --shell, we don't want an interactive build
-close STDIN;
+# If not using --shell or --stop, we don't want an interactive build
+if (!$run{stop}) {
+ close STDIN;
+}
# perform some cleaning before running to have some more space, rsync to
# the server too in case previous iurt crashed