Fix a typo which was causing ghci to quit on commands errors
[ghc-hetmet.git] / compiler / ghci / InteractiveUI.hs
index b5d66a1..3b5fde9 100644 (file)
@@ -666,7 +666,7 @@ runCommands' eh getCmd = do
   where
     printErrorAndKeepGoing err = do
         GHC.printExceptionAndWarnings err
-        return True
+        return False
 
     noSpace q = q >>= maybe (return Nothing)
                             (\c->case removeSpaces c of