propellor spin

This commit is contained in:
Joey Hess 2014-03-31 15:07:06 -04:00
parent f01ae67301
commit 36469bc07d
Failed to extract signature
1 changed files with 1 additions and 3 deletions

View File

@ -154,9 +154,7 @@ boot props = do
makePrivDataDir
maybe noop (writeFileProtected privDataLocal) $
fromMarked privDataMarker reply
print $ eitherToMaybe . B64.decode . BL.pack . s2w8 =<< fromMarked keyringMarker reply
print $ B64.decode . BL.pack . s2w8 <$> fromMarked keyringMarker reply
case eitherToMaybe . B64.decode . BL.pack . s2w8 =<< fromMarked keyringMarker reply of
case eitherToMaybe . B64.decode . BL.pack . s2w8 . takeWhile (/= '\n') =<< fromMarked keyringMarker reply of
Nothing -> noop
Just d -> do
writeFileProtected keyring ""