From 71869ecce78c8c04d83b741f3c384ef26ceb1b23 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 11 Jul 2010 14:33:31 +0200 Subject: [PATCH] Fix .dump, .die, .exit when DEVELOPER turned off --- bacula/src/dird/ua_dotcmds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5