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-Tag: Release-7.0.0~347 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a3f69c1cac54eb5d49c8e79fb92c96fd4e9e9974;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);