From: Kern Sibbald Date: Fri, 7 Nov 2003 13:49:32 +0000 (+0000) Subject: Correct yes in run command after adding new aliases X-Git-Tag: Release-7.0.0~9920 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2ae76c7ac7d589aec439a1c08d4434a4663b0083;p=bacula%2Fbacula Correct yes in run command after adding new aliases git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@801 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/ua_run.c b/bacula/src/dird/ua_run.c index a42c8851fe..e18777a7e2 100644 --- a/bacula/src/dird/ua_run.c +++ b/bacula/src/dird/ua_run.c @@ -65,22 +65,22 @@ int run_cmd(UAContext *ua, char *cmd) N_("client"), /* 2 */ N_("fd"), N_("fileset"), /* 4 */ - N_("level"), + N_("level"), /* 5 */ N_("storage"), /* 6 */ N_("sd"), /* 7 */ - N_("pool"), - N_("where"), - N_("bootstrap"), - N_("replace"), - N_("when"), - N_("priority"), + N_("pool"), /* 8 */ + N_("where"), /* 9 */ + N_("bootstrap"), /* 10 */ + N_("replace"), /* 11 */ + N_("when"), /* 12 */ + N_("priority"), /* 13 */ N_("yes"), /* 14 -- if you change this change YES_POS too */ N_("run"), /* 15 -- if you change this change RUN_POS too */ N_("verifyjob"), /* 16 */ NULL}; -#define YES_POS 12 -#define RUN_POS 13 +#define YES_POS 14 +#define RUN_POS 15 if (!open_db(ua)) { return 1;