Fix warning when nigthly process is running
This commit is contained in:
parent
2c2f68dc98
commit
c6754da976
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ if ( $statusCode eq 'OK' ) {
|
|||
next if (@hostsExcluded and grep {/^$host$/} @hostsExcluded);
|
||||
next if ( $Status{$host}{BackupsDisable} );
|
||||
next if ($Status{$host}{'type'} eq 'archive');
|
||||
if ( $Status{$host}{statusCode} ne 'OK' ) {
|
||||
if ( $Status{$host}{statusCode} && $Status{$host}{statusCode} ne 'OK' ) {
|
||||
$statusMsg .= ", " unless ( $first_host );
|
||||
$statusMsg .= "$host: ".$Status{$host}{statusCode}." - ".$Status{$host}{statusMsg};
|
||||
$first_host = 0 if ( $first_host );
|
||||
|
|
Loading…
Reference in a new issue