From f64471ee99e8b5d7ee21af0a51b5901fa597dbcf Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 24 Jul 2002 22:04:44 +0000 Subject: when testing, log on STDERR --- perl-install/log.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/log.pm b/perl-install/log.pm index 649ed30a0..ac024819f 100644 --- a/perl-install/log.pm +++ b/perl-install/log.pm @@ -19,7 +19,9 @@ sub F() { *LOG } sub l { $logOpen or openLog(); - if ($::isStandalone) { + if ($::testing) { + print STDERR @_, "\n"; + } elsif ($::isStandalone) { c::syslog(c::LOG_WARNING(), join("", @_)); } elsif ($::isInstall) { print LOG "* ", @_, "\n"; -- cgit v1.2.1