/*
Bacula® - The Network Backup Solution
- Copyright (C) 2004-2008 Free Software Foundation Europe e.V.
+ Copyright (C) 2004-2012 Free Software Foundation Europe e.V.
The main author of Bacula is Kern Sibbald, with contributions from
many others, a complete list can be found in the file AUTHORS.
*
* Kern Sibbald, November MMIV
*
- * Version $Id$
*
*/
// PyEval_ReleaseLock();
UAContext *ua = new_ua_context(jcr);
ua->batch = true;
- if (!cancel_job(ua, jcr)) {
+ if (!cancel_job(ua, jcr, true)) {
/* ***FIXME*** raise exception */
return NULL;
}