Merge pull request #1581 from ZoneMinder/fix_1571

quote the password
pull/1271/merge
Andrew Bauer 2016-08-06 09:37:11 -05:00 committed by GitHub
commit 528230c92d
1 changed files with 1 additions and 1 deletions

View File

@ -460,7 +460,7 @@ if ( $version )
$command .= " -u".$dbUser;
if ( $dbPass )
{
$command .= " -p".$dbPass;
$command .= ' -p"'.$dbPass.'"';
}
}
$command .= " ".$Config{ZM_DB_NAME}." < ";