summaryrefslogtreecommitdiff
path: root/src/Propellor/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-21 01:05:51 -0400
committerJoey Hess2014-11-21 01:05:51 -0400
commita904476333bcacfbed5d0ca95e8f8b3cca9fb327 (patch)
treea28338d121527f41d1cd776c3dc16b521ec8da73 /src/Propellor/CmdLine.hs
parent9f9a4c653fcd7ef82bf5fa066fa7b270b2855b93 (diff)
avoid console output when chaining into chroot and not at console
Diffstat (limited to 'src/Propellor/CmdLine.hs')
-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 466b60f5..a26e2559 100644
--- a/src/Propellor/CmdLine.hs
+++ b/src/Propellor/CmdLine.hs
@@ -85,8 +85,8 @@ defaultMain hostlist = do
go _ (Edit field context) = editPrivData field context
go _ ListFields = listPrivDataFields hostlist
go _ (AddKey keyid) = addKey keyid
+ go _ (ChrootChain hn loc onconsole) = Chroot.chain hostlist hn loc onconsole
go _ (DockerChain hn cid) = Docker.chain hostlist hn cid
- go _ (ChrootChain hn loc) = Chroot.chain hostlist hn loc
go _ (DockerInit hn) = Docker.init hn
go _ (GitPush fin fout) = gitPushHelper fin fout
go _ (Update _) = forceConsole >> fetchFirst (onlyprocess update)