summaryrefslogtreecommitdiff
path: root/Pancake.hs
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2017-12-24 22:58:37 +0300
committerdefanor <defanor@uberspace.net>2017-12-24 23:24:43 +0300
commit340c52572212a1918a8ac1e5faac8cb5a5cc079a (patch)
tree57bb150e5e243c4a9a8120774c08d7b87c6929a3 /Pancake.hs
parentae2c1a1c3f83994ad66bf1e7031e4c1d3c74aeac (diff)
Fix a typo
Diffstat (limited to 'Pancake.hs')
-rw-r--r--Pancake.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Pancake.hs b/Pancake.hs
index 4b2fd7e..160e0d5 100644
--- a/Pancake.hs
+++ b/Pancake.hs
@@ -173,7 +173,7 @@ loadDocument sType rawURI = do
((shell ev) { env = Just (("FILE", tmpPath) : curEnv) }) $
\_ _ _ p -> waitForProcess p
when (ec /= ExitSuccess) $
- putErrLn $ "An error occured. Exit code: " ++ show ec
+ putErrLn $ "An error occurred. Exit code: " ++ show ec
pure (effectiveURI, mzero)
-- | Visits an URI, updates history accordingly.