]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Apply 2.2.4-replace.patch to fix replace option on restore.
authorEric Bollengier <eric@eb.homelinux.org>
Sun, 21 Oct 2007 17:36:17 +0000 (17:36 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sun, 21 Oct 2007 17:36:17 +0000 (17:36 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/branches/Branch-2.2@5774 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/ua_run.c

index 4f5f86a66bfd5581593fd2d8df423340b924a16c..e90bfda084582f90e5cee758f59d62d71e81f934 100644 (file)
@@ -424,6 +424,7 @@ try_again:
          }
          opt = do_prompt(ua, "", _("Select replace option"), NULL, 0);
          if (opt >=  0) {
+            rc.replace = ReplaceOptions[opt].name;
             jcr->replace = ReplaceOptions[opt].token;
          }
          goto try_again;