diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-10-20 23:37:21 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-10-20 23:37:21 -0400 |
| commit | 0e39d53352b982022747e451676bc6a66e3d9acc (patch) | |
| tree | 37f84bb464b71437d7ff90c571d1f127a8127edb /src/Propellor/Spin.hs | |
| parent | 745f42c1499749345c32736342959584587c9b57 (diff) | |
refactor
Diffstat (limited to 'src/Propellor/Spin.hs')
| -rw-r--r-- | src/Propellor/Spin.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Propellor/Spin.hs b/src/Propellor/Spin.hs index 3cdd8c98..0c457705 100644 --- a/src/Propellor/Spin.hs +++ b/src/Propellor/Spin.hs @@ -100,9 +100,9 @@ spin' mprivdata relay target hst = do Nothing | relaying -> do let f = privDataRelay hn - d <- readFileStrictAnyEncoding f + d <- readPrivDataFile f nukeFile f - return (readPrivData d) + return d | otherwise -> filterPrivData hst <$> decryptPrivData Just pd -> pure pd |
