summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
diff options
context:
space:
mode:
Diffstat (limited to 'src/Propellor/Property')
-rw-r--r--src/Propellor/Property/Tor.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Propellor/Property/Tor.hs b/src/Propellor/Property/Tor.hs
index 0747d3dc..7a4e9158 100644
--- a/src/Propellor/Property/Tor.hs
+++ b/src/Propellor/Property/Tor.hs
@@ -38,10 +38,10 @@ hiddenServiceAvailable hn port = hiddenServiceHostName prop
hiddenService :: HiddenServiceName -> Int -> Property
hiddenService hn port = mainConfig `File.containsLines`
- [ unlines ["HiddenServiceDir", varLib </> hn]
- , unlines ["HiddenServicePort", show port, "127.0.0.1:" ++ show port]
+ [ unwords ["HiddenServiceDir", varLib </> hn]
+ , unwords ["HiddenServicePort", show port, "127.0.0.1:" ++ show port]
]
- `describe` unlines ["hidden service available:", hn, show port]
+ `describe` unwords ["hidden service available:", hn, show port]
`onChange` restarted
hiddenServiceData :: HiddenServiceName -> Context -> Property