summaryrefslogtreecommitdiff
path: root/src/Propellor/CmdLine.hs
diff options
context:
space:
mode:
authorJoey Hess2017-07-13 11:04:14 -0400
committerJoey Hess2017-07-13 11:04:14 -0400
commit632137836b39462883483a621f9dd696ce1d73cc (patch)
treea3b875afa1d8609c5b4dcaad0dff459c7174d9f3 /src/Propellor/CmdLine.hs
parent3aae9ad46742d3de514380647811ae495cb83a83 (diff)
disable buffering earlier
The "fatal: Couldn't find remote ref HEAD" persists, and is intermittent so hard to be sure but it seemed that disabling buffering earlier avoided it. Now done first thing on start. I was not able to find anything that reads from stdin other than getMarked, but perhaps there is something..
Diffstat (limited to 'src/Propellor/CmdLine.hs')
-rw-r--r--src/Propellor/CmdLine.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/CmdLine.hs b/src/Propellor/CmdLine.hs
index a36ec7f5..70bb0bf8 100644
--- a/src/Propellor/CmdLine.hs
+++ b/src/Propellor/CmdLine.hs
@@ -111,6 +111,7 @@ data CanRebuild = CanRebuild | NoRebuild
defaultMain :: [Host] -> IO ()
defaultMain hostlist = withConcurrentOutput $ do
useFileSystemEncoding
+ updatePrepare
Shim.cleanEnv
checkDebugMode
cmdline <- processCmdLine