summaryrefslogtreecommitdiff
path: root/testsuite/timeout/timeout.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/timeout/timeout.hs')
-rw-r--r--testsuite/timeout/timeout.hs4
1 files changed, 0 insertions, 4 deletions
diff --git a/testsuite/timeout/timeout.hs b/testsuite/timeout/timeout.hs
index 08066879b0..f78baa10ea 100644
--- a/testsuite/timeout/timeout.hs
+++ b/testsuite/timeout/timeout.hs
@@ -33,10 +33,6 @@ main = do
_ -> die ("Can't parse " ++ show secs ++ " as a number of seconds")
_ -> die ("Bad arguments " ++ show args)
-die :: String -> IO ()
-die msg = do hPutStrLn stderr ("timeout: " ++ msg)
- exitWith (ExitFailure 1)
-
timeoutMsg :: String
timeoutMsg = "Timeout happened...killing process..."