propellor spin

This commit is contained in:
Joey Hess 2014-04-13 14:21:05 -04:00
parent 3835e6b1c7
commit a829889e95
Failed to extract signature
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ spin hn = do
cacheparams <- toCommand <$> sshCachingParams hn
go cacheparams url =<< gpgDecrypt (privDataFile hn)
where
go cacheparams url privdata = withBothHandles createProcessSuccess (proc "ssh" $ cacheparams ++ [user, bootstrapcmd]) $ \(toh, fromh) -> do
go cacheparams url privdata = withBothHandles createProcessSuccess (proc "ssh" $ cacheparams ++ ["-t", user, bootstrapcmd]) $ \(toh, fromh) -> do
let finish = do
senddata toh (privDataFile hn) privDataMarker privdata
hClose toh