summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Tor.hs
diff options
context:
space:
mode:
authorFélix Sipma2014-11-13 09:49:13 +0100
committerJoey Hess2014-11-13 13:03:30 -0400
commitcd1a9113143606d7d69acef1c74bd852e315334c (patch)
tree9d8bc8b8d1f20508104231ded0bd48002e3b919e /src/Propellor/Property/Tor.hs
parent3679a4935335870941806c82e153ca7d0d9b1bb6 (diff)
Tor: change unlines to unwords in hiddenService
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
Diffstat (limited to 'src/Propellor/Property/Tor.hs')
-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