summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Chroot.hs
diff options
context:
space:
mode:
authorJoey Hess2015-10-28 20:10:11 -0400
committerJoey Hess2015-10-28 20:10:11 -0400
commit86a115aaa0c216e4c46e57a324b58177c8b78435 (patch)
tree8a08d9efae9dc7d1c5645e44bdb1f0e9b068628d /src/Propellor/Property/Chroot.hs
parent94011a4a9ee951e2b4c36de7c1d87cb1276766b1 (diff)
have to flush concurrent output before printing result when chaining
Diffstat (limited to 'src/Propellor/Property/Chroot.hs')
-rw-r--r--src/Propellor/Property/Chroot.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Propellor/Property/Chroot.hs b/src/Propellor/Property/Chroot.hs
index 8b923aab..e72d1bd9 100644
--- a/src/Propellor/Property/Chroot.hs
+++ b/src/Propellor/Property/Chroot.hs
@@ -213,6 +213,7 @@ chain hostlist (ChrootChain hn loc systemdonly onconsole) =
then [Systemd.installed]
else map ignoreInfo $
hostProperties h
+ flushConcurrentOutput
putStrLn $ "\n" ++ show r
chain _ _ = errorMessage "bad chain command"