summaryrefslogtreecommitdiff
path: root/src/Propellor/Engine.hs
diff options
context:
space:
mode:
authorJoey Hess2017-11-21 13:36:29 -0400
committerJoey Hess2017-11-21 13:36:29 -0400
commit29a8f8aa044e388f7856c67ae3d495e487df6385 (patch)
treee3e87d24fa60fd74c74bf994e356f91140765181 /src/Propellor/Engine.hs
parent14d66e507e1a10f949f3238434bb28fbc3b90693 (diff)
avoid backtrace from already running on this host message
Diffstat (limited to 'src/Propellor/Engine.hs')
-rw-r--r--src/Propellor/Engine.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Engine.hs b/src/Propellor/Engine.hs
index b4dc66ce..62209bc4 100644
--- a/src/Propellor/Engine.hs
+++ b/src/Propellor/Engine.hs
@@ -102,7 +102,7 @@ onlyProcess lockfile a = bracket lock unlock (const a)
`catchIO` const alreadyrunning
return l
unlock = closeFd
- alreadyrunning = error "Propellor is already running on this host!"
+ alreadyrunning = giveup "Propellor is already running on this host!"
-- | Chains to a propellor sub-Process, forwarding its output on to the
-- display, except for the last line which is a Result.