]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/runscript.c
Add the updated version of the the win32 pathname fix.
[bacula/bacula] / bacula / src / lib / runscript.c
index c73cc1012c47d04351d88171b28752ba8718ecc5..4b851ed5767e7252e8a73c308f3c9eea6225ab26 100644 (file)
@@ -120,8 +120,7 @@ int run_scripts(JCR *jcr, alist *runscripts, const char *label)
                                                                                 script->on_success,
                                                                                 script->on_failure,
                                                                                 jcr->JobStatus );
-           script->when ^= SCRIPT_After; /* reset SCRIPT_After bit */
-           runit = true;
+          runit = true;
         }
       }