Skip to content

Commit

Permalink
Added some quotes
Browse files Browse the repository at this point in the history
- Added quotes to make_catalog_backup.pl script
  (Thanks to Günter Gratzer)
- Added quotes in message when Allowed Job Command blocks.

Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
  • Loading branch information
pstorz authored and Marco van Wieringen committed Jul 15, 2013
1 parent 669f153 commit 2dd65e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cats/make_catalog_backup.pl.in
Expand Up @@ -90,7 +90,7 @@ sub dump_mysql
print MY "[client]
$addr
user=$args{db_user}
password=$args{db_password}
password=\"$args{db_password}\"
";
if ($args{db_port}) {
print MY "port=$args{db_port}\n";
Expand Down
2 changes: 1 addition & 1 deletion src/filed/dir_cmd.c
Expand Up @@ -291,7 +291,7 @@ static bool validate_command(JCR *jcr, const char *cmd, alist *allowed_job_cmds)
}

if (!allowed) {
Jmsg(jcr, M_FATAL, 0, _("Illegal %s command not allowed by Allowed Job Cmds setting of this filed.\n"), cmd);
Jmsg(jcr, M_FATAL, 0, _("Illegal \"%s\" command not allowed by Allowed Job Cmds setting of this filed.\n"), cmd);
}

return allowed;
Expand Down

0 comments on commit 2dd65e9

Please sign in to comment.