]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak Incomplete jobs in accurate_finish
authorKern Sibbald <kern@sibbald.com>
Tue, 22 Feb 2011 11:39:53 +0000 (12:39 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:43:27 +0000 (14:43 +0200)
bacula/src/filed/accurate.c

index c029559329120b231b0a4dbde57992046627c7f2..0c9ea3f3065ba30cc084420cd8f9db0092186f8f 100644 (file)
@@ -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)) {