From: Marco van Wieringen Date: Tue, 17 Jan 2012 19:49:34 +0000 (+0100) Subject: Tweak call to cancel_job. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4e96ba006ab99818f89aefcc327c1878449193e7;p=bacula%2Fbacula Tweak call to cancel_job. --- diff --git a/bacula/src/dird/pythondir.c b/bacula/src/dird/pythondir.c index fb05f89d35..d36b6afaae 100644 --- a/bacula/src/dird/pythondir.c +++ b/bacula/src/dird/pythondir.c @@ -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; }