From: Kern Sibbald Date: Sat, 2 Mar 2019 17:46:27 +0000 (+0100) Subject: Add messages for Incomplete Jobs X-Git-Tag: Release-9.4.3~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=944213e1ba8451e399850b6c296e12a5ec9bbc59;p=thirdparty%2Fbacula.git Add messages for Incomplete Jobs --- diff --git a/bacula/src/dird/backup.c b/bacula/src/dird/backup.c index f94bf8f99..5c7dbfb5c 100644 --- a/bacula/src/dird/backup.c +++ b/bacula/src/dird/backup.c @@ -1,7 +1,7 @@ /* Bacula(R) - The Network Backup Solution - Copyright (C) 2000-2018 Kern Sibbald + Copyright (C) 2000-2019 Kern Sibbald The original author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -837,7 +837,7 @@ void backup_cleanup(JCR *jcr, int TermCode) } break; case JS_Incomplete: - Mmsg(term_msg, _("Backup failed -- incomplete")); + Mmsg(term_msg, _("Backup failed -- Incomplete")); break; case JS_Warnings: Mmsg(term_msg, _("Backup OK -- %s"), jcr->StatusErrMsg[0] ? jcr->StatusErrMsg : _("with warnings")); diff --git a/bacula/src/dird/restore.c b/bacula/src/dird/restore.c index 1ba17ea8d..7bc93253b 100644 --- a/bacula/src/dird/restore.c +++ b/bacula/src/dird/restore.c @@ -1,7 +1,7 @@ /* Bacula(R) - The Network Backup Solution - Copyright (C) 2000-2015 Kern Sibbald + Copyright (C) 2000-2019 Kern Sibbald The original author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -685,6 +685,9 @@ void restore_cleanup(JCR *jcr, int TermCode) term_msg = _("Restore Canceled"); terminate_sd_msg_chan_thread(jcr); break; + case JS_Incomplete: + term_msg = _("Restore Incomplete"); + break; default: term_msg = term_code; sprintf(term_code, _("Inappropriate term code: %c\n"), TermCode); diff --git a/bacula/src/dird/vbackup.c b/bacula/src/dird/vbackup.c index 1b2a64311..7ee317335 100644 --- a/bacula/src/dird/vbackup.c +++ b/bacula/src/dird/vbackup.c @@ -1,7 +1,7 @@ /* Bacula(R) - The Network Backup Solution - Copyright (C) 2000-2018 Kern Sibbald + Copyright (C) 2000-2019 Kern Sibbald The original author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -426,6 +426,9 @@ void vbackup_cleanup(JCR *jcr, int TermCode) term_msg = _("Backup Canceled"); terminate_sd_msg_chan_thread(jcr); break; + case JS_Incomplete: + term_msg = _("Backup failed -- Incomplete"); + break; default: term_msg = term_code; sprintf(term_code, _("Inappropriate term code: %c\n"), jcr->JobStatus);