From 48e2203550c93bd05ef34df7b17d8447f4fac93c Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 27 Nov 2014 10:54:33 -0500 Subject: [PATCH] Remove trailing newline in output. --- src/Report.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Report.hs b/src/Report.hs index fb549e2..a189664 100644 --- a/src/Report.hs +++ b/src/Report.hs @@ -224,7 +224,7 @@ report cfg conn = do let remote_forwards = find_remote_forwards domains valid_forwards let forward_strings = map format_forward remote_forwards - return $ (join "\n" forward_strings) ++ "\n" + return $ (join "\n" forward_strings) @@ -248,4 +248,4 @@ test_example1 = "user2@example.com -> user1@example.org\n" ++ "user2@example.com -> user2@example.org\n" ++ "user2@example.com -> user3@example.org\n" ++ - "user7@example.com -> user8@example.net\n" + "user7@example.com -> user8@example.net" -- 2.44.2