summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-02-15 16:36:06 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-02-15 16:36:06 +0000
commit9245f500fba61582d928180192530459ade21811 (patch)
tree7e8184ad71905eed7f68739f7e50c5ca9bc23c17 /perl-install
parent379e6d21597b558372120e69cabd621e1ded928e (diff)
downloaddrakx-9245f500fba61582d928180192530459ade21811.tar
drakx-9245f500fba61582d928180192530459ade21811.tar.gz
drakx-9245f500fba61582d928180192530459ade21811.tar.bz2
drakx-9245f500fba61582d928180192530459ade21811.tar.xz
drakx-9245f500fba61582d928180192530459ade21811.zip
remove assigning STDIN to /dev/null since:
- programs should not use STDIN - the "postInstall" script for auto_install's is more happy still having the STDIN.
Diffstat (limited to 'perl-install')
-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')";