From 94264ceac305108022fbe4fa5639863ce89e1d06 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 17 May 2007 11:51:29 +0000 Subject: [PATCH] More tweaks to the .mod command git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4809 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/dird/ua_run.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bacula/src/dird/ua_run.c b/bacula/src/dird/ua_run.c index 65bdb036cf..017226873b 100644 --- a/bacula/src/dird/ua_run.c +++ b/bacula/src/dird/ua_run.c @@ -211,16 +211,19 @@ try_again: if (ReplaceOptions[i].token == jcr->replace) { rc.replace = ReplaceOptions[i].name; } + rc.replace = NULL; } if (rc.level_name) { if (!get_level_from_name(jcr, rc.level_name)) { ua->send_msg(_("Level %s not valid.\n"), rc.level_name); goto bail_out; } + rc.level_name = NULL; } if (rc.jid) { /* Note, this is also MigrateJobId */ jcr->RestoreJobId = str_to_int64(rc.jid); + rc.jid = 0; } /* Run without prompting? */ -- 2.39.5