From: Eric Bollengier Date: Wed, 3 Nov 2010 18:23:12 +0000 (+0100) Subject: Stop restore if job is canceled X-Git-Url: https://git.sur5r.net/?p=bacula%2Fbacula;a=commitdiff_plain;h=59c108948b2c1a21dd4ee6119558204b9db03797 Stop restore if job is canceled --- diff --git a/bacula/src/filed/job.c b/bacula/src/filed/job.c index 04ed30620e..41b9c11c2d 100644 --- a/bacula/src/filed/job.c +++ b/bacula/src/filed/job.c @@ -1917,6 +1917,10 @@ bail_out: ret = 0; /* we stop here */ } + if (job_canceled(jcr)) { + ret = 0; /* we stop here */ + } + return ret; }