]> git.sur5r.net Git - bacula/bacula/commitdiff
Remove ifdeffing that turned off JS_Warning status -- must have been missed test...
authorKern Sibbald <kern@sibbald.com>
Tue, 10 Jan 2012 15:35:08 +0000 (16:35 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:50:26 +0000 (14:50 +0200)
bacula/src/dird/backup.c

index f084840ada8fca508cf7f3323548b53c93a4b0b0..c2321aacf84a657d4cd7e0d0050cf6f2aa3b5147 100644 (file)
@@ -607,12 +607,10 @@ void backup_cleanup(JCR *jcr, int TermCode)
    memset(&mr, 0, sizeof(mr));
    memset(&cr, 0, sizeof(cr));
 
-#ifdef xxxx
    if (jcr->getJobStatus() == JS_Terminated && 
         (jcr->JobErrors || jcr->SDErrors || jcr->JobWarnings)) {
       TermCode = JS_Warnings;
    }
-#endif
          
    update_job_end(jcr, TermCode);