summaryrefslogtreecommitdiff
path: root/src/Propellor/Spin.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Spin.hs')
-rw-r--r--src/Propellor/Spin.hs4
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