Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/filed/status.cc')
-rw-r--r--core/src/filed/status.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/filed/status.cc b/core/src/filed/status.cc
index 6355a2a7b..4d8f3d2b6 100644
--- a/core/src/filed/status.cc
+++ b/core/src/filed/status.cc
@@ -440,7 +440,8 @@ bool QstatusCmd(JobControlRecord* jcr)
dir->fsend(OKqstatus, cmd);
foreach_jcr (njcr) {
if (njcr->JobId != 0) {
- dir->fsend(DotStatusJob, njcr->JobId, njcr->JobStatus, njcr->JobErrors);
+ dir->fsend(DotStatusJob, njcr->JobId, njcr->getJobStatus(),
+ njcr->JobErrors);
}
}
endeach_jcr(njcr);