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-7.0.0~1682 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e0de734d2f83c3319ca58b29ed36d227d5398d88;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; }