Finish implementing single monitor mod

This commit is contained in:
Isaac Connor 2018-01-26 15:53:47 -05:00
parent 456f29fcba
commit 2f39e44f91
1 changed files with 5 additions and 0 deletions

View File

@ -227,6 +227,10 @@ MAIN: while( $loop ) {
Debug("Weird non digit characters in $monitor");
next;
}
if ( $monitor_id and ( $monitor_id != $monitor ) ) {
Debug("Skipping monitor $monitor because we are only interested in monitor $monitor_id");
next;
}
Debug( "Found filesystem monitor '$monitor'" );
$fs_monitors->{$monitor} = {} if ! $fs_monitors->{$monitor};
@ -808,6 +812,7 @@ yet.
-c, --continuous - Run continuously
-f, --force - Run even if pid file exists
-i, --interactive - Ask before applying any changes
-m, --monitor_id - Only consider the given monitor
-r, --report - Just report don't actually do anything
-s, --storage_id - Specify a storage area to audit instead of all
-v, --version - Print the installed version of ZoneMinder