Corrected overwite

git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@681 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
stan 2003-11-05 15:06:44 +00:00
parent aa8beea2c6
commit eea39c6ee2
1 changed files with 1 additions and 1 deletions

View File

@ -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) );