]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Add messages for Incomplete Jobs
authorKern Sibbald <kern@sibbald.com>
Sat, 2 Mar 2019 17:46:27 +0000 (18:46 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 2 Mar 2019 17:46:27 +0000 (18:46 +0100)
bacula/src/dird/backup.c
bacula/src/dird/restore.c
bacula/src/dird/vbackup.c

index f94bf8f99340a590b646e96fee30767aafa2f9e7..5c7dbfb5c149cb0bf7fada11ccd850e14a253020 100644 (file)
@@ -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"));
index 1ba17ea8d4e7da8c33208f20db165b5a17542eba..7bc93253ba8292fdfc61847b5a4ebbf6788eeab8 100644 (file)
@@ -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);
index 1b2a64311dc5d24e4763327663578cea40f93c71..7ee31733547cfcf5fce6d21fd3779f20d3fb0307 100644 (file)
@@ -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);