propellor spin

This commit is contained in:
Joey Hess 2014-03-31 14:15:12 -04:00
parent bf5663d545
commit 08bb77496f
Failed to extract signature
1 changed files with 3 additions and 4 deletions

View File

@ -132,12 +132,11 @@ boot props = do
putStrLn $ toMarked statusMarker $ show $ if havering then HaveKeyRing else NeedKeyRing
hFlush stdout
reply <- getContents
makePrivDataDir
writeFileProtected privDataLocal $ fromMarked privDataMarker reply
let keyringb64 = fromMarked keyringMarker reply
case fromB64Maybe keyringb64 of
Nothing -> noop
Just s -> writeFileProtected keyring s
maybe noop (writeFileProtected keyring) $ fromB64Maybe $
fromMarked keyringMarker reply
ensureProperties props
addKey :: String -> IO ()