From 44bc96e9b8722633f3d9637fcfe57ca58dbc13d6 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 25 Nov 2006 14:23:03 +0000 Subject: [PATCH] ebl add \n to error message git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3698 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/filed/restore.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bacula/src/filed/restore.c b/bacula/src/filed/restore.c index fbf90fc987..bd24f234ea 100644 --- a/bacula/src/filed/restore.c +++ b/bacula/src/filed/restore.c @@ -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; } -- 2.39.5