From 83b2b5f744e913d4808ee612abb781903be499b3 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 22 Feb 2011 12:39:53 +0100 Subject: [PATCH] Tweak Incomplete jobs in accurate_finish --- bacula/src/filed/accurate.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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)) { -- 2.39.5