From: Kern Sibbald Date: Sun, 11 Jul 2010 12:40:33 +0000 (+0200) Subject: Tweak fix compile problems due to new .exit command X-Git-Tag: Release-5.0.3~84 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ab10d272feb4a07a1ea28d25b1e8a85acb324f2;p=bacula%2Fbacula Tweak fix compile problems due to new .exit command --- diff --git a/bacula/src/filed/job.c b/bacula/src/filed/job.c index 4d5c985ae7..4568125f4e 100644 --- a/bacula/src/filed/job.c +++ b/bacula/src/filed/job.c @@ -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},