diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-10-27 16:19:15 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-10-27 16:19:15 -0400 |
| commit | 6e3b0022fa451181fdce8abd145e27a64a777711 (patch) | |
| tree | 89e360698db6c6029cd639668865cef420966042 /src/Propellor/Property/Chroot.hs | |
| parent | 56c3394144abbb9862dc67379d3253c76ae4df97 (diff) | |
use a shared global for the MessageHandle
Diffstat (limited to 'src/Propellor/Property/Chroot.hs')
| -rw-r--r-- | src/Propellor/Property/Chroot.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Chroot.hs b/src/Propellor/Property/Chroot.hs index 20871a12..8b923aab 100644 --- a/src/Propellor/Property/Chroot.hs +++ b/src/Propellor/Property/Chroot.hs @@ -193,7 +193,7 @@ propellChroot c@(Chroot loc _ _) mkproc systemdonly = property (chrootDesc c "pr toChain :: HostName -> Chroot -> Bool -> IO CmdLine toChain parenthost (Chroot loc _ _) systemdonly = do - onconsole <- isConsole <$> mkMessageHandle + onconsole <- isConsole <$> getMessageHandle return $ ChrootChain parenthost loc systemdonly onconsole chain :: [Host] -> CmdLine -> IO () |
