summaryrefslogtreecommitdiff
path: root/CmdLine/Batch.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-11-17 12:56:27 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-11-17 12:56:27 -0400
commit3a6c9ad7d00c6795faefcacbc42dc57d26aecd61 (patch)
treea03564275f6a9532fe487353c04b1c0cf7659a0d /CmdLine/Batch.hs
parenta5584e1a61861dff0835f7ea4e366e393c0fd294 (diff)
parent2286c5acb4b3917a71067264cc1075638848d340 (diff)
Merge branch 'master' into tor
Diffstat (limited to 'CmdLine/Batch.hs')
-rw-r--r--CmdLine/Batch.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/CmdLine/Batch.hs b/CmdLine/Batch.hs
index cca93b0b3..627c1df10 100644
--- a/CmdLine/Batch.hs
+++ b/CmdLine/Batch.hs
@@ -56,7 +56,7 @@ batchInput parser a = do
either parseerr a (parser v)
batchInput parser a
where
- parseerr s = error $ "Batch input parse failure: " ++ s
+ parseerr s = giveup $ "Batch input parse failure: " ++ s
-- Runs a CommandStart in batch mode.
--