]> 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)
committerKern Sibbald <kern@sibbald.com>
Sun, 11 Jul 2010 12:33:31 +0000 (14:33 +0200)
bacula/src/dird/ua_dotcmds.c

index eedf22fc9c84681776000d724a12bc7cca872b55..c878a695fa85cbf00d21e93956de54a4b8c932cb 100644 (file)
@@ -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;
 }