diff options
Diffstat (limited to 'Utility')
-rw-r--r-- | Utility/Process.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/Process.hs b/Utility/Process.hs index c6699961e..78755f639 100644 --- a/Utility/Process.hs +++ b/Utility/Process.hs @@ -133,7 +133,7 @@ forceSuccessProcess p pid = do code <- waitForProcess pid case code of ExitSuccess -> return () - ExitFailure n -> fail $ showCmd p ++ " exited " ++ show n + ExitFailure n -> error $ showCmd p ++ " exited " ++ show n -- | Waits for a ProcessHandle and returns True if it exited successfully. -- Note that using this with createProcessChecked will throw away |