summaryrefslogtreecommitdiff
path: root/Propellor
diff options
context:
space:
mode:
authorJoey Hess2014-03-31 14:50:06 -0400
committerJoey Hess2014-03-31 14:50:06 -0400
commitd1438a8212b2213729ce0326d9a1e350bb389da9 (patch)
tree727a6865c2c698debe89f9a6e57ca20c2016a17e /Propellor
parent4b7ee8ce71b126faf370e97d8c0fe65f9f848ffb (diff)
propellor spin
Diffstat (limited to 'Propellor')
-rw-r--r--Propellor/CmdLine.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Propellor/CmdLine.hs b/Propellor/CmdLine.hs
index 97088156..83ef8cb5 100644
--- a/Propellor/CmdLine.hs
+++ b/Propellor/CmdLine.hs
@@ -149,7 +149,8 @@ boot props = do
hFlush stdout
reply <- hGetContentsStrict stdin
- hPutStrLn stderr $ show $ B64.decode . BL.pack . s2w8 <$> fromMarked keyringMarker reply
+ hPutStrLn stderr $ show $ B64.decode . BL.pack . s2w8 . takeWhile (/= '\n')
+ <$> fromMarked keyringMarker reply
hFlush stderr
makePrivDataDir