mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-03 01:43:25 +00:00
Reset log level to known maximum
This commit is contained in:
parent
efe6cf2e9c
commit
0d7e2fa14e
1 changed files with 1 additions and 3 deletions
|
@ -172,9 +172,7 @@ sub exit_prog() {
|
|||
sub logmsg($@) {
|
||||
my $level = shift;
|
||||
|
||||
if ( $level > 6 ) {
|
||||
croak('requested debug level should not be above 6');
|
||||
}
|
||||
$level = 6 if ( $level > 6 );
|
||||
|
||||
if ( $level <= $options{debug} ) {
|
||||
print( strftime( "%H:%M:%S: ", localtime ) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue