From: Eric Bollengier Date: Wed, 3 Nov 2010 18:23:12 +0000 (+0100) Subject: Stop restore if job is canceled X-Git-Tag: Release-7.0.0~1440 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=49ccb91a91c7741d7e4a11b113da4f86d7bf0ad6;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; }