From: Kern Sibbald Date: Wed, 30 Dec 2015 18:20:37 +0000 (+0100) Subject: Fix false status output. Fixes bug #2103 X-Git-Tag: Release-7.4.0~65 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b12a02b1b9c3c3e3ca2f64f66dbac1cd530546ad;p=bacula%2Fbacula Fix false status output. Fixes bug #2103 --- diff --git a/bacula/src/stored/status.c b/bacula/src/stored/status.c index e3612b5ceb..2a8b7e6bf8 100644 --- a/bacula/src/stored/status.c +++ b/bacula/src/stored/status.c @@ -517,8 +517,7 @@ static void list_running_jobs(STATUS_PKT *sp) rdcr->dev?rdcr->dev->print_name(): rdcr->device->device_name); sendit(msg, len, sp); - } - if (dcr && dcr->device && dcr != rdcr) { + } else if (dcr && dcr->device) { len = Mmsg(msg, _("Writing: %s %s job %s JobId=%d Volume=\"%s\"\n" " pool=\"%s\" device=%s\n"), job_level_to_str(jcr->getJobLevel()),