From: Eric Bollengier Date: Wed, 3 Nov 2010 18:23:12 +0000 (+0100) Subject: Stop restore if job is canceled X-Git-Tag: Release-5.2.1~975 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c123a8ad3b380a4a17071112ad42382437221d80;p=bacula%2Fbacula Stop restore if job is canceled --- diff --git a/bacula/src/filed/job.c b/bacula/src/filed/job.c index 368976d2b9..13e09472f7 100644 --- a/bacula/src/filed/job.c +++ b/bacula/src/filed/job.c @@ -2194,6 +2194,10 @@ bail_out: ret = 0; /* we stop here */ } + if (job_canceled(jcr)) { + ret = 0; /* we stop here */ + } + return ret; }