diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-04-09 17:50:40 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-04-09 17:50:40 -0400 |
| commit | 6a632221a2d2d1e31859c8deb79543056224a76f (patch) | |
| tree | 2d785a669997fd1f7f92203b00921c585d48415e | |
| parent | 412fbfa222ddc8f9b1a3f2a8338cc9bfe41d41a8 (diff) | |
avoid call stack
| -rw-r--r-- | src/Propellor/Spin.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Spin.hs b/src/Propellor/Spin.hs index 447f8e9f..3b3729f9 100644 --- a/src/Propellor/Spin.hs +++ b/src/Propellor/Spin.hs @@ -87,7 +87,7 @@ spin' mprivdata relay target hst = do -- And now we can run it. unlessM (boolSystemNonConcurrent "ssh" (map Param $ cacheparams ++ ["-t", sshtarget, shellWrap runcmd])) $ - error "remote propellor failed" + giveup "remote propellor failed" where hn = fromMaybe target relay sys = case fromInfo (hostInfo hst) of |
