From 38b5d356de300f717df9c262c4fbf7ea0053aee6 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 9 Jun 2017 14:13:36 +0200 Subject: [PATCH] ppp: don't log newlines (cherry picked from commit a814b96ebf02fa88f1a431d0a7459723a3af670d) --- src/ppp/nm-ppp-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ppp/nm-ppp-manager.c b/src/ppp/nm-ppp-manager.c index d9044a4495..93660ef4ab 100644 --- a/src/ppp/nm-ppp-manager.c +++ b/src/ppp/nm-ppp-manager.c @@ -609,8 +609,8 @@ NM_UTILS_LOOKUP_STR_DEFINE_STATIC (pppd_exit_code_to_str, int, NM_UTILS_LOOKUP_STR_ITEM (16, "A modem hung up the phone"), NM_UTILS_LOOKUP_STR_ITEM (17, "Loopback detected"), NM_UTILS_LOOKUP_STR_ITEM (18, "The init script failed"), - NM_UTILS_LOOKUP_STR_ITEM (19, "Authentication error.\n" - "We failed to authenticate ourselves to the peer.\n" + NM_UTILS_LOOKUP_STR_ITEM (19, "Authentication error. " + "We failed to authenticate ourselves to the peer. " "Maybe bad account or password?"), );