diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-11-21 13:36:29 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-11-21 13:36:29 -0400 |
| commit | 29a8f8aa044e388f7856c67ae3d495e487df6385 (patch) | |
| tree | e3e87d24fa60fd74c74bf994e356f91140765181 | |
| parent | 14d66e507e1a10f949f3238434bb28fbc3b90693 (diff) | |
avoid backtrace from already running on this host message
| -rw-r--r-- | src/Propellor/Engine.hs | 2 |
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. |
