summaryrefslogtreecommitdiff
path: root/src/Propellor/Shim.hs
diff options
context:
space:
mode:
authorJoey Hess2014-11-22 02:04:01 -0400
committerJoey Hess2014-11-22 02:04:01 -0400
commite0c2d6a73af01f138a50b80a6885718ed0b9dad1 (patch)
tree247a450c25985feaf799dda78e2feddae43b589e /src/Propellor/Shim.hs
parent128e16472a03929b089dcf44e28c651edcefcd43 (diff)
comment
Diffstat (limited to 'src/Propellor/Shim.hs')
-rw-r--r--src/Propellor/Shim.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Propellor/Shim.hs b/src/Propellor/Shim.hs
index 5b5aa68e..1bfbb0ca 100644
--- a/src/Propellor/Shim.hs
+++ b/src/Propellor/Shim.hs
@@ -45,6 +45,8 @@ setup propellorbin dest = do
modifyFileMode shim (addModes executeModes)
return shim
+-- Called when the shimmed propellor is running, so that commands it runs
+-- don't see it.
cleanEnv :: IO ()
cleanEnv = void $ unsetEnv "GCONV_PATH"