mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-22 18:51:24 +02:00
Send INFO messages to STDERR rather than STDOUT
This commit is contained in:
parent
3253c882e9
commit
0faf3b6db1
@ -1274,10 +1274,10 @@ sub info_message
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( $confess ) {
|
if ( $confess ) {
|
||||||
print longmess( " INFO: @_$currentlineinfo" );
|
print STDERR longmess( " INFO: @_$currentlineinfo" );
|
||||||
print $log longmess( " INFO: @_$currentlineinfo\n" ) if $log;
|
print $log longmess( " INFO: @_$currentlineinfo\n" ) if $log;
|
||||||
} else {
|
} else {
|
||||||
print " INFO: @_$currentlineinfo\n";
|
print STDERR " INFO: @_$currentlineinfo\n";
|
||||||
print $log " INFO: @_$currentlineinfo\n" if $log;
|
print $log " INFO: @_$currentlineinfo\n" if $log;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user