diff --git a/scripts/zmupdate.pl.in b/scripts/zmupdate.pl.in index c0dcd3868..462cb1d18 100644 --- a/scripts/zmupdate.pl.in +++ b/scripts/zmupdate.pl.in @@ -460,7 +460,7 @@ if ( $version ) $command .= " -u".$dbUser; if ( $dbPass ) { - $command .= " -p".$dbPass; + $command .= ' -p"'.$dbPass.'"'; } } $command .= " ".$Config{ZM_DB_NAME}." < ";