Fixed bogus substitution of event path.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@187 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
f5a2898ba6
commit
f633435a10
|
@ -179,7 +179,8 @@ while ( my ( $fs_monitor, $fs_events ) = each(%$fs_monitors) )
|
|||
print( "Filesystem event '$fs_monitor/$fs_event' does not exist in database" );
|
||||
if ( confirm() )
|
||||
{
|
||||
qx( rm -rf EVENT_PATH/$fs_monitor/$fs_event );
|
||||
my $command = "rm -rf ".EVENT_PATH."/$fs_monitor/$fs_event";
|
||||
qx( $command );
|
||||
sleep( $delay ) if ( $delay );
|
||||
}
|
||||
}
|
||||
|
@ -191,7 +192,8 @@ while ( my ( $fs_monitor, $fs_events ) = each(%$fs_monitors) )
|
|||
print( "Filesystem monitor '$fs_monitor' does not exist in database" );
|
||||
if ( confirm() )
|
||||
{
|
||||
qx( rm -rf EVENT_PATH/$fs_monitor );
|
||||
my $command = "rm -rf ".EVENT_PATH."/$fs_monitor";
|
||||
qx( $command );
|
||||
sleep( $delay ) if ( $delay );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue