From b12a02b1b9c3c3e3ca2f64f66dbac1cd530546ad Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 30 Dec 2015 19:20:37 +0100 Subject: [PATCH] Fix false status output. Fixes bug #2103 --- bacula/src/stored/status.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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()), -- 2.39.5