]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak fix compile problems due to new .exit command
authorKern Sibbald <kern@sibbald.com>
Sun, 11 Jul 2010 12:40:33 +0000 (14:40 +0200)
committerKern Sibbald <kern@sibbald.com>
Sun, 11 Jul 2010 12:40:33 +0000 (14:40 +0200)
bacula/src/filed/job.c

index 4d5c985ae7fd7ba87b51a6b9504e2f7240c296e3..4568125f4e439f6056ccf0a70c6742f84809eaa7 100644 (file)
@@ -91,7 +91,9 @@ static int runbeforenow_cmd(JCR *jcr);
 static void set_options(findFOPTS *fo, const char *opts);
 static void set_storage_auth_key(JCR *jcr, char *key);
 static int sm_dump_cmd(JCR *jcr);
+#ifdef DEVELOPER
 static int exit_cmd(JCR *jcr);
+#endif
 
 /* Exported functions */
 
@@ -126,7 +128,6 @@ static struct s_cmds cmds[] = {
    {"RunAfterJob",  runafter_cmd,  0},
    {"Run",          runscript_cmd, 0},
    {"accurate",     accurate_cmd,  0},
-   {"restoreobject", restore_object_cmd, 0},
    {"sm_dump",      sm_dump_cmd, 0},
 #ifdef DEVELOPER
    {"exit",         exit_cmd, 0},