]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix .dump, .die, .exit when DEVELOPER turned off
authorKern Sibbald <kern@sibbald.com>
Sun, 11 Jul 2010 12:33:31 +0000 (14:33 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:58 +0000 (16:53 +0200)
bacula/src/dird/ua_dotcmds.c

index 945d9a0958138a388769850eaab40250a6b3647b..3a5d3b3df9cef68928903db73f168e30ee98681d 100644 (file)
@@ -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;
 }