]> git.ipfire.org Git - thirdparty/bacula.git/commit
Fix org#2610 About incorrect stopping of running job
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Tue, 4 May 2021 20:38:55 +0000 (22:38 +0200)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:01 +0000 (09:03 +0100)
commit94cc03db2e7a0ad2384d7c5c6be015736992a5a8
tree9c64b470b55e1855d5215c63df7857940290ba7a
parent45360083fcaf0a2ceeee5a485a776bad5243b3e4
Fix org#2610 About incorrect stopping of running job

Extended 'is_job_canceled()' helper to check for the Incomplete state.
This way, handling job which was either stopped or cancelled is more
elegant (e.g. it is now possible to stop job which was waiting on
mounting volume during backup - it was not possilbe before).
bacula/src/jcr.h
bacula/src/stored/askdir.c