mirror of
https://github.com/darold/squidanalyzer.git
synced 2025-07-30 01:14:28 +02:00
Fix some print statements were outputting to STDOUT instead of STDERR. Thanks to ammdispose for the patch.
This commit is contained in:
parent
c536b9300e
commit
7b22d55fec
@ -303,7 +303,7 @@ sub parseFile
|
||||
|
||||
if (!$self->{QuietMode}) {
|
||||
print STDERR "END TIME : ", strftime("%a %b %e %H:%M:%S %Y", localtime($self->{end_time})), "\n";
|
||||
print "Read $line_count lines, matched $line_processed_count and found $line_stored_count new lines\n";
|
||||
print STDERR "Read $line_count lines, matched $line_processed_count and found $line_stored_count new lines\n";
|
||||
}
|
||||
|
||||
# Set the current start time into history file
|
||||
@ -386,7 +386,7 @@ sub _init
|
||||
|
||||
# Prevent for a call without instance
|
||||
if (!ref($self)) {
|
||||
print "ERROR - init : Unable to call init without an object instance.\n";
|
||||
print STDERR "ERROR - init : Unable to call init without an object instance.\n";
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user