From ecf1b432898a3ea48270c5504397316bea2a6d4e Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 10 Jan 2012 16:35:08 +0100 Subject: [PATCH] Remove ifdeffing that turned off JS_Warning status -- must have been missed test code --- bacula/src/dird/backup.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bacula/src/dird/backup.c b/bacula/src/dird/backup.c index f084840ada..c2321aacf8 100644 --- a/bacula/src/dird/backup.c +++ b/bacula/src/dird/backup.c @@ -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); -- 2.39.5