From 1ab10d272feb4a07a1ea28d25b1e8a85acb324f2 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 11 Jul 2010 14:40:33 +0200 Subject: [PATCH] Tweak fix compile problems due to new .exit command --- bacula/src/filed/job.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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}, -- 2.39.5