diff options
-rw-r--r-- | perl-install/log.pm | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/perl-install/log.pm b/perl-install/log.pm index e14454b03..3e8826963 100644 --- a/perl-install/log.pm +++ b/perl-install/log.pm @@ -55,6 +55,12 @@ sub closeLog() { } else { close $LOG; close $LOG2 } } -sub explanations { c::syslog(c::LOG_INFO()|c::LOG_LOCAL1(), "@_") } +sub explanations { + if ($::isStandalone) { + c::syslog(c::LOG_INFO()|c::LOG_LOCAL1(), "@_"); + } else { + l(@_); + } +} 1; |