diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-09-22 22:28:16 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-09-22 22:28:16 +0000 |
commit | 046c5b383794bfe42480723d32bbb91380671bab (patch) | |
tree | e01726159329239568857533cde6549f97ab5531 /perl-install/run_program.pm | |
parent | f27e0ad435eef7902c35562b75b03fb11f4e5c8d (diff) | |
download | drakx-backup-do-not-use-046c5b383794bfe42480723d32bbb91380671bab.tar drakx-backup-do-not-use-046c5b383794bfe42480723d32bbb91380671bab.tar.gz drakx-backup-do-not-use-046c5b383794bfe42480723d32bbb91380671bab.tar.bz2 drakx-backup-do-not-use-046c5b383794bfe42480723d32bbb91380671bab.tar.xz drakx-backup-do-not-use-046c5b383794bfe42480723d32bbb91380671bab.zip |
no_comment
Diffstat (limited to 'perl-install/run_program.pm')
-rw-r--r-- | perl-install/run_program.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/run_program.pm b/perl-install/run_program.pm index ad0f4ca95..293910cb8 100644 --- a/perl-install/run_program.pm +++ b/perl-install/run_program.pm @@ -32,12 +32,12 @@ sub rooted { if ($stderr) { $stderrm =~ s/2//; open STDERR, "$stderrm $root$stderr" or die "run_program can't output in $root$stderr (mode `$stderrm')"; - } else { + } elsif ($::isInstall) { open STDERR, ">> /tmp/ddebug.log" or open STDOUT, ">> /dev/tty7" or die "run_program can't log, give me access to /tmp/ddebug.log"; } if ($stdout) { open STDOUT, "$stdoutm $root$stdout" or die "run_program can't output in $root$stdout (mode `$stdoutm')"; - } else { + } elsif ($::isInstall) { open STDOUT, ">> /tmp/ddebug.log" or open STDOUT, ">> /dev/tty7" or die "run_program can't log, give me access to /tmp/ddebug.log"; } |