propellor spin
This commit is contained in:
parent
546e3282a0
commit
74a6f413f2
|
@ -145,9 +145,17 @@ boot props = do
|
||||||
hPutStrLn stderr $ "GOT " ++ reply
|
hPutStrLn stderr $ "GOT " ++ reply
|
||||||
hFlush stderr
|
hFlush stderr
|
||||||
makePrivDataDir
|
makePrivDataDir
|
||||||
|
hPutStrLn stderr $ "DEBUG 1"
|
||||||
|
hFlush stderr
|
||||||
writeFileProtected privDataLocal $ fromMarked privDataMarker reply
|
writeFileProtected privDataLocal $ fromMarked privDataMarker reply
|
||||||
|
hPutStrLn stderr $ "DEBUG 2"
|
||||||
|
hFlush stderr
|
||||||
let keyringarmored = fromMarked keyringMarker reply
|
let keyringarmored = fromMarked keyringMarker reply
|
||||||
unless (null keyringarmored) $
|
hPutStrLn stderr $ "DEBUG 3"
|
||||||
|
hFlush stderr
|
||||||
|
unless (null keyringarmored) $ do
|
||||||
|
hPutStrLn stderr $ "DEBUG 4"
|
||||||
|
hFlush stderr
|
||||||
withHandle StdinHandle createProcessSuccess
|
withHandle StdinHandle createProcessSuccess
|
||||||
(proc "gpg" $ gpgopts ++ ["--import", "-a"]) $ \h -> do
|
(proc "gpg" $ gpgopts ++ ["--import", "-a"]) $ \h -> do
|
||||||
hPutStr h keyringarmored
|
hPutStr h keyringarmored
|
||||||
|
|
Loading…
Reference in New Issue