Corrected overwite
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@681 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
aa8beea2c6
commit
eea39c6ee2
|
@ -364,7 +364,7 @@ function zmaCheck( $monitor )
|
|||
function createVideo( $event, $rate, $scale, $overwrite=0 )
|
||||
{
|
||||
$command = ZM_PATH_BIN."/zmvideo.pl -e $event[Id] -r $rate -s $scale";
|
||||
if ( $overwite )
|
||||
if ( $overwrite )
|
||||
$command .= " -o";
|
||||
$result = exec( $command, $output, $status );
|
||||
return( $status?"":rtrim($result) );
|
||||
|
|
Loading…
Reference in New Issue