From: Kern Sibbald Date: Tue, 10 Jan 2012 15:35:08 +0000 (+0100) Subject: Remove ifdeffing that turned off JS_Warning status -- must have been missed test... X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ecf1b432898a3ea48270c5504397316bea2a6d4e;p=bacula%2Fbacula Remove ifdeffing that turned off JS_Warning status -- must have been missed test code --- 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);