From: Kern Sibbald Date: Tue, 22 Feb 2011 11:39:53 +0000 (+0100) Subject: Tweak Incomplete jobs in accurate_finish X-Git-Tag: Release-7.0.0~1111 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=66269e8c06ad16321d64115871f707ec3f1e8573;p=bacula%2Fbacula Tweak Incomplete jobs in accurate_finish --- diff --git a/bacula/src/filed/accurate.c b/bacula/src/filed/accurate.c index c029559329..0c9ea3f306 100644 --- a/bacula/src/filed/accurate.c +++ b/bacula/src/filed/accurate.c @@ -182,14 +182,15 @@ void accurate_free(JCR *jcr) /* Send the deleted or the base file list and cleanup */ bool accurate_finish(JCR *jcr) { - bool ret=true; + bool ret = true; + if (jcr->accurate) { - if (!jcr->incomplete) { - if (jcr->is_JobLevel(L_FULL)) { + if (jcr->is_JobLevel(L_FULL)) { + if (!jcr->incomplete) { ret = accurate_send_base_file_list(jcr); - } else if (!jcr->incomplete) { - ret = accurate_send_deleted_list(jcr); } + } else { + ret = accurate_send_deleted_list(jcr); } accurate_free(jcr); if (jcr->is_JobLevel(L_FULL)) {