Removed quotes around command when no prefix required.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@1694 e3e1d417-86f3-4887-817a-d78f3d33393fpull/27/merge
parent
18a23d2707
commit
a894479087
|
@ -314,7 +314,11 @@ sub removeShm
|
|||
sub runCommand
|
||||
{
|
||||
my $command = shift;
|
||||
$command = $cmd_prefix."'".ZM_PATH_BIN."/".$command."'";
|
||||
$command = ZM_PATH_BIN."/".$command;
|
||||
if ( $cmd_prefix )
|
||||
{
|
||||
$command = $cmd_prefix."'".$command."'";
|
||||
}
|
||||
Debug( "Command: $command\n" );
|
||||
my $output = qx($command);
|
||||
my $status = $? >> 8;
|
||||
|
|
Loading…
Reference in New Issue