]> gitweb.michael.orlitzky.com - list-remote-forwards.git/blobdiff - src/Main.hs
Fix hlint suggestions.
[list-remote-forwards.git] / src / Main.hs
index 13371a836d9f7c537583842241db904ec39df1c8..66d02a084449102dace81985744afdf25e4da8f6 100644 (file)
@@ -74,9 +74,9 @@ main = do
           else connectPostgreSQL (connection_string cfg) >>= report cfg
 
     -- The DB connection is implicitly closed when it gets garbage collected.
-    putStrLn r
+    putStr r
 
   where
     show_sql_error :: SqlError -> IO ()
     show_sql_error se = hPutStrLn stderr $
-      "SQL Error (" ++ (show $ seNativeError se) ++ "): " ++ (seErrorMsg se)
+      "SQL Error (" ++ show (seNativeError se) ++ "): " ++ (seErrorMsg se)