/[smecontribs]/rpms/bacula/contribs8/bacula-5.0.3-clientrunbeforejob.patch
ViewVC logotype

Annotation of /rpms/bacula/contribs8/bacula-5.0.3-clientrunbeforejob.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Fri Dec 3 17:41:52 2010 UTC (14 years ago) by slords
Branch: MAIN
Initial import

1 slords 1.1 --- bacula/src/dird/backup.c 2007-02-20 14:28:55.000000000 +0100
2     +++ bacula.org/src/dird/backup.c 2007-02-20 14:27:54.000000000 +0100
3     @@ -171,18 +171,6 @@
4     set_jcr_job_status(jcr, JS_Running);
5     fd = jcr->file_bsock;
6    
7     - if (!send_include_list(jcr)) {
8     - goto bail_out;
9     - }
10     -
11     - if (!send_exclude_list(jcr)) {
12     - goto bail_out;
13     - }
14     -
15     - if (!send_level_command(jcr)) {
16     - goto bail_out;
17     - }
18     -
19     /*
20     * send Storage daemon address to the File daemon
21     */
22     @@ -205,10 +193,24 @@
23     goto bail_out;
24     }
25    
26     + /* setup job */
27     +
28     + if (!send_level_command(jcr)) {
29     + goto bail_out;
30     + }
31     +
32     if (!send_runscripts_commands(jcr)) {
33     goto bail_out;
34     }
35    
36     + if (!send_include_list(jcr)) {
37     + goto bail_out;
38     + }
39     +
40     + if (!send_exclude_list(jcr)) {
41     + goto bail_out;
42     + }
43     +
44     /*
45     * We re-update the job start record so that the start
46     * time is set after the run before job. This avoids

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed