summaryrefslogtreecommitdiffstats
path: root/perl-install/run_program.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/run_program.pm')
-rw-r--r--perl-install/run_program.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm
index f56c59f4d..2db504bec 100644
--- a/perl-install/run_program.pm
+++ b/perl-install/run_program.pm
@@ -36,8 +36,6 @@ sub rooted {
($stdoutm, $stdout, @args) = @args if $args[0] =~ /^>>?$/;
($stderrm, $stderr, @args) = @args if $args[0] =~ /^2>>?$/;
- open STDIN, "/dev/null" or die "can't open /dev/null as stdin";
-
if ($stderr) {
$stderrm =~ s/2//;
open STDERR, "$stderrm $root$stderr" or die "run_program can't output in $root$stderr (mode `$stderrm')";