X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fstored%2Fstatus.c;h=11939fb247c99b873501a2505ac0436c81283488;hb=3fe17b53281b5b18437a63036251e62bb6a5a414;hp=a665e250d064a338b2bcc3d0bd947b8991493fc1;hpb=59f1e296fb3cc7ee008f2de545048f42cf0d9931;p=bacula%2Fbacula diff --git a/bacula/src/stored/status.c b/bacula/src/stored/status.c index a665e250d0..11939fb247 100644 --- a/bacula/src/stored/status.c +++ b/bacula/src/stored/status.c @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2003-2008 Free Software Foundation Europe e.V. + Copyright (C) 2003-2009 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -405,7 +405,7 @@ static void list_running_jobs(STATUS_PKT *sp) } dcr = jcr->dcr; rdcr = jcr->read_dcr; - if ((dcr && dcr->device) || rdcr && rdcr->device) { + if ((dcr && dcr->device) || (rdcr && rdcr->device)) { bstrncpy(JobName, jcr->Job, sizeof(JobName)); /* There are three periods after the Job name */ char *p; @@ -549,6 +549,9 @@ static void list_terminated_jobs(STATUS_PKT *sp) case JS_Terminated: termstat = _("OK"); break; + case JS_Warnings: + termstat = _("OK -- with warnings"); + break; default: termstat = _("Other"); break;