From: <ke...@us...> - 2007-05-17 11:51:28
|
Revision: 4809 http://bacula.svn.sourceforge.net/bacula/?rev=4809&view=rev Author: kerns Date: 2007-05-17 04:51:29 -0700 (Thu, 17 May 2007) Log Message: ----------- More tweaks to the .mod command Modified Paths: -------------- trunk/bacula/src/dird/ua_run.c Modified: trunk/bacula/src/dird/ua_run.c =================================================================== --- trunk/bacula/src/dird/ua_run.c 2007-05-17 11:28:09 UTC (rev 4808) +++ trunk/bacula/src/dird/ua_run.c 2007-05-17 11:51:29 UTC (rev 4809) @@ -211,16 +211,19 @@ 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? */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |