]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak call to cancel_job.
authorMarco van Wieringen <mvw@planets.elm.net>
Tue, 17 Jan 2012 19:49:34 +0000 (20:49 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:27 +0000 (14:50 +0200)
bacula/src/dird/pythondir.c

index fb05f89d356256734d05d1b843e3a25f1fdd74df..d36b6afaaeb4f7bff8cce2729dd6eace38580d0c 100644 (file)
@@ -419,7 +419,7 @@ static PyObject *job_cancel(PyObject *self, PyObject *args)
 // PyEval_ReleaseLock();
    UAContext *ua = new_ua_context(jcr);
    ua->batch = true;
-   if (!cancel_job(ua, jcr, true)) {
+   if (!cancel_job(ua, jcr)) {
       /* ***FIXME*** raise exception */
       return NULL;
    }