]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl add \n to error message
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 25 Nov 2006 14:23:03 +0000 (14:23 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Sat, 25 Nov 2006 14:23:03 +0000 (14:23 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3698 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/filed/restore.c

index fbf90fc987e7a5e5a1861fc01ec15329128d04d7..bd24f234ea34d7b537d4233e8e0bd2ca183c359c 100644 (file)
@@ -364,7 +364,7 @@ void do_restore(JCR *jcr)
 
          /* Do we have any keys at all? */
          if (!jcr->pki_recipients) {
-            Jmsg(jcr, M_ERROR, 0, _("No private decryption keys have been defined to decrypt encrypted backup data."));
+            Jmsg(jcr, M_ERROR, 0, _("No private decryption keys have been defined to decrypt encrypted backup data.\n"));
             break;
          }
 
@@ -375,14 +375,14 @@ void do_restore(JCR *jcr)
             /* Success */
             break;
          case CRYPTO_ERROR_NORECIPIENT:
-            Jmsg(jcr, M_ERROR, 0, _("Missing private key required to decrypt encrypted backup data."));
+            Jmsg(jcr, M_ERROR, 0, _("Missing private key required to decrypt encrypted backup data.\n"));
             break;
          case CRYPTO_ERROR_DECRYPTION:
-            Jmsg(jcr, M_ERROR, 0, _("Decrypt of the session key failed."));
+            Jmsg(jcr, M_ERROR, 0, _("Decrypt of the session key failed.\n"));
             break;
          default:
             /* Shouldn't happen */
-            Jmsg1(jcr, M_ERROR, 0, _("An error occured while decoding encrypted session data stream: %s"), crypto_strerror(cryptoerr));
+            Jmsg1(jcr, M_ERROR, 0, _("An error occured while decoding encrypted session data stream: %s\n"), crypto_strerror(cryptoerr));
             break;
          }