summaryrefslogtreecommitdiffstats
path: root/perl-install/log.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/log.pm')
-rw-r--r--perl-install/log.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/log.pm b/perl-install/log.pm
index ac024819f..448928812 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]";# or die "no log possible :(";
+ open LOG, "> $_[0]";
} else {
- open LOG, "> /dev/tty3";# or die "no log possible :(";
+ open LOG, "> /dev/tty3";
}
- open LOG2, ">> /tmp/ddebug.log";# or die "no log possible :(";
+ open LOG2, ">> /tmp/ddebug.log";
select((select(LOG), $| = 1)[0]);
select((select(LOG2), $| = 1)[0]);
}
@@ -51,7 +51,7 @@ sub openLog(;$) {
sub closeLog() {
if ($::isStandalone) {
c::closelog();
- } else { close LOG; close LOG2; }
+ } else { close LOG; close LOG2 }
}
#-######################################################################################