From: Marco van Wieringen Date: Tue, 17 Jan 2012 19:49:34 +0000 (+0100) Subject: Tweak call to cancel_job. X-Git-Tag: Release-7.0.0~332 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2aa7d344ae52f08189fbd39222a5b62d76f7a70b;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; }