From 2aa7d344ae52f08189fbd39222a5b62d76f7a70b Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Tue, 17 Jan 2012 20:49:34 +0100 Subject: [PATCH] Tweak call to cancel_job. --- bacula/src/dird/pythondir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5