Fix log message to say recovering instead of auditing

This commit is contained in:
Isaac Connor 2018-11-13 16:36:39 -05:00
parent d2dc23b4e9
commit 381071eb0f
1 changed files with 3 additions and 3 deletions

View File

@ -120,7 +120,7 @@ if ( defined $storage_id ) {
Error("No Storage Area found with Id $storage_id");
Term();
}
Info("Auditing Storage Area $Storage_Areas[0]{Id} $Storage_Areas[0]{Name} at $Storage_Areas[0]{Path}");
Info("Recovering from Storage Area $Storage_Areas[0]{Id} $Storage_Areas[0]{Name} at $Storage_Areas[0]{Path}");
} elsif ( $server_id ) {
@Storage_Areas = ZoneMinder::Storage->find( ServerId => $server_id );
if ( ! @Storage_Areas ) {
@ -128,11 +128,11 @@ if ( defined $storage_id ) {
Term();
}
foreach my $Storage ( @Storage_Areas ) {
Info('Auditing ' . $Storage->Name() . ' at ' . $Storage->Path() . ' on ' . $Storage->Server()->Name() );
Info('Recovering from ' . $Storage->Name() . ' at ' . $Storage->Path() . ' on ' . $Storage->Server()->Name() );
}
} else {
@Storage_Areas = ZoneMinder::Storage->find();
Info("Auditing All Storage Areas");
Info("Recovering from All Storage Areas");
}
my @Monitors = ZoneMinder::Monitor->find();