summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2014-11-18 01:15:34 -0400
committerJoey Hess2014-11-18 01:15:34 -0400
commitbc6b199d537c5bee3ad0822c24650e06ae5d1cd5 (patch)
treeff35c47bfda108c8e9ea0b6948b8f4b7eb40c24c /src/Propellor
parentc58b51fd94c074edcd342d5ce076f6c02780267a (diff)
propellor spin
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/CmdLine.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/CmdLine.hs b/src/Propellor/CmdLine.hs
index c31a5cbb..6dd36f9f 100644
--- a/src/Propellor/CmdLine.hs
+++ b/src/Propellor/CmdLine.hs
@@ -187,7 +187,7 @@ spin hn hst = do
cacheparams <- toCommand <$> sshCachingParams hn
go cacheparams url =<< hostprivdata
unlessM (boolSystem "ssh" (map Param (cacheparams ++ ["-t", user, spincmd]))) $
- error "remote propellor failed"
+ error $ "remote propellor failed (running: " ++ spincmd ++")"
where
hostprivdata = show . filterPrivData hst <$> decryptPrivData