Fix missing newline

This commit is contained in:
Daniel Gröber 2015-09-14 07:32:49 +02:00
parent 71c8361911
commit 0277d44695

View File

@ -564,7 +564,7 @@ exitError msg = gmErrStrLn (dropWhileEnd (=='\n') msg) >> liftIO exitFailure
exitError' :: Options -> String -> IO a
exitError' opts msg = do
gmUnsafeErrStr (optOutput opts) msg
gmUnsafeErrStr (optOutput opts) $ dropWhileEnd (=='\n') msg ++ "\n"
liftIO exitFailure
fatalError :: String -> a