From 07260adb2a7dc771221ac57cc51ae3f25c5ef019 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 21 Dec 2015 15:30:05 -0500 Subject: [PATCH] append ZoneMinder::General to executeShellCommand --- scripts/ZoneMinder/lib/ZoneMinder/Event.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm index a7474fbb8..81787764c 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm @@ -339,7 +339,7 @@ sub delete_files { #Debug( "EP:$event_path" ); my $command = "/bin/rm -rf $event_path"; #Debug( "C:$command" ); - executeShellCommand( $command ); + ZoneMinder::General::executeShellCommand( $command ); unlink( $link_path ) or Error( "Unable to unlink '$link_path': $!" ); @@ -355,14 +355,14 @@ sub delete_files { #Debug( "HF2:".$has_files[0] ) if ( @has_files ); last if ( @has_files ); my $command = "/bin/rm -rf $storage_path/$delete_path"; - executeShellCommand( $command ); + ZoneMinder::General::executeShellCommand( $command ); } } } else { my $command = "/bin/rm -rf $storage_path/$_[0]{MonitorId}/$_[0]{Id}"; - executeShellCommand( $command ); + ZoneMinder::General::executeShellCommand( $command ); } } # end sub delete_files