summaryrefslogtreecommitdiff
path: root/src/Propellor
diff options
context:
space:
mode:
authorJoey Hess2014-11-18 15:13:37 -0400
committerJoey Hess2014-11-18 15:14:36 -0400
commit781e35a333d1ca930f9d94c716104c90bf28970d (patch)
tree2d05ed84eff6dba681b4ed80a9eec3ad2ebde419 /src/Propellor
parentdccdf0c0f08dc0ffc0e7c1853fadbe1ac0946030 (diff)
protocol is one line response, not multiline
The privdata is shown, so contains no literal newlines, so that's ok.
Diffstat (limited to 'src/Propellor')
-rw-r--r--src/Propellor/Protocol.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Protocol.hs b/src/Propellor/Protocol.hs
index c5ebaab9..6394fc71 100644
--- a/src/Propellor/Protocol.hs
+++ b/src/Propellor/Protocol.hs
@@ -28,7 +28,7 @@ gitPushMarker :: String
gitPushMarker = "GITPUSH"
toMarked :: Marker -> String -> String
-toMarked marker = intercalate "\n" . map (marker ++) . lines
+toMarked marker = ++
fromMarked :: Marker -> Marked -> Maybe String
fromMarked marker s