summaryrefslogtreecommitdiffstats
path: root/perl-install/log.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-11-06 22:52:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-11-06 22:52:57 +0000
commit8cb21146557a468e517db3123d481e5715971c7a (patch)
tree757b85c18f3a46f1ce331891e7f7aaf98a8b6702 /perl-install/log.pm
parentd3271db5a1609ee14b6f3a57aed7925644a5dabe (diff)
downloaddrakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.tar
drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.tar.gz
drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.tar.bz2
drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.tar.xz
drakx-backup-do-not-use-8cb21146557a468e517db3123d481e5715971c7a.zip
- have "local *FILEHANDLE" before each "open FILEHANDLE, ..."
- use some "cat_" and "output" where possible
Diffstat (limited to 'perl-install/log.pm')
-rw-r--r--perl-install/log.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/log.pm b/perl-install/log.pm
index 695f70545..c0fdde7a5 100644
--- a/perl-install/log.pm
+++ b/perl-install/log.pm
@@ -36,11 +36,11 @@ sub w { &l }
sub openLog(;$) {
if ($::isInstall) {
if ($_[0]) { #- useLocal
- open LOG, "> $_[0]";
+ open LOG, "> $_[0]"; #-#
} else {
- open LOG, "> /dev/tty3";
+ open LOG, "> /dev/tty3"; #-#
}
- open LOG2, ">> /tmp/ddebug.log";
+ open LOG2, ">> /tmp/ddebug.log"; #-#
select((select(LOG), $| = 1)[0]);
select((select(LOG2), $| = 1)[0]);
}