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.0.3~85 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=71869ecce78c8c04d83b741f3c384ef26ceb1b23;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 eedf22fc9c..c878a695fa 100644 --- a/bacula/src/dird/ua_dotcmds.c +++ b/bacula/src/dird/ua_dotcmds.c @@ -523,8 +523,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; }