]> git.pld-linux.org Git - packages/bacula.git/blob - bacula-2.2.4-parse-command.patch
- official patches
[packages/bacula.git] / bacula-2.2.4-parse-command.patch
1
2  This patch resolves a command parser issue 
3  causing a director segfault when using something
4  like "run job 1 2"
5
6  Apply to version 2.2.4 (and perhaps older 2.2.x versions) with
7
8  cd <bacula-source>
9  patch -p0 <2.2.4-parse-command.patch
10  ./configure (your options)
11  make
12  ...
13  make install
14
15
16 Index: src/dird/ua_run.c
17 ===================================================================
18 --- src/dird/ua_run.c   (rĂ©vision 5616)
19 +++ src/dird/ua_run.c   (copie de travail)
20 @@ -933,7 +933,7 @@
21              /* Note, yes and run have no value, so do not fail */
22              if (!ua->argv[i] && j != YES_POS /*yes*/) {
23                 ua->send_msg(_("Value missing for keyword %s\n"), ua->argk[i]);
24 -               return true;
25 +               return false;
26              }
27              Dmsg1(800, "Got keyword=%s\n", NPRT(kw[j]));
28              switch (j) {
This page took 0.023722 seconds and 3 git commands to generate.