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/dird/ndmp_dma_restore_NDMP_BAREOS.cc')
-rw-r--r--core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc b/core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc
index 955d07995..6d1f2c44b 100644
--- a/core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc
+++ b/core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc
@@ -344,7 +344,7 @@ static inline int NdmpWaitForJobTermination(JobControlRecord* jcr)
WaitForStorageDaemonTermination(jcr);
jcr->impl->FDJobStatus = JS_Terminated;
- if (jcr->JobStatus != JS_Terminated) { return jcr->JobStatus; }
+ if (jcr->getJobStatus() != JS_Terminated) { return jcr->getJobStatus(); }
if (jcr->impl->FDJobStatus != JS_Terminated) {
return jcr->impl->FDJobStatus;
}