From 556a984ea5d66a0bd6ff6e0fbc35dd5c53139db2 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 19 Jul 2010 16:57:22 +0200 Subject: [PATCH] Tweak add bstrerror output if snapshot fails --- bacula/src/filed/job.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/filed/job.c b/bacula/src/filed/job.c index 4568125f4e..f9450eee96 100644 --- a/bacula/src/filed/job.c +++ b/bacula/src/filed/job.c @@ -1618,8 +1618,8 @@ static int backup_cmd(JCR *jcr) if (get_win32_driveletters(jcr->ff, szWinDriveLetters)) { Jmsg(jcr, M_INFO, 0, _("Generate VSS snapshots. Driver=\"%s\", Drive(s)=\"%s\"\n"), g_pVSSClient->GetDriverName(), szWinDriveLetters); if (!g_pVSSClient->CreateSnapshots(szWinDriveLetters)) { - Jmsg(jcr, M_WARNING, 0, _("Generate VSS snapshots failed.\n")); - jcr->JobErrors++; + berrno be; + Jmsg(jcr, M_FATAL, 0, _("Generate VSS snapshots failed. ERR=%s\n"), be.bstrerror()); } else { /* tell user if snapshot creation of a specific drive failed */ int i; -- 2.39.5