From: Kern Sibbald Date: Sun, 11 Jul 2010 12:33:31 +0000 (+0200) Subject: Fix .dump, .die, .exit when DEVELOPER turned off X-Git-Tag: Release-5.2.1~1217 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=bbb299eba5678d4d73fd3a81aff4073ce77a5329;p=bacula%2Fbacula Fix .dump, .die, .exit when DEVELOPER turned off --- diff --git a/bacula/src/dird/ua_dotcmds.c b/bacula/src/dird/ua_dotcmds.c index 945d9a0958..3a5d3b3df9 100644 --- a/bacula/src/dird/ua_dotcmds.c +++ b/bacula/src/dird/ua_dotcmds.c @@ -537,8 +537,9 @@ static bool admin_cmds(UAContext *ua, const char *cmd) /* * Dummy routine for non-development version */ -static bool die_or_dump_cmd(UAContext *ua, const char *cmd) +static bool admin_cmds(UAContext *ua, const char *cmd) { + ua->error_msg(_("Unknown command: %s\n"), ua->argk[0]); return true; }