rsync special remote: Fix fallback mode for rsync remotes that use hashDirMixed. Closes: #731142
This commit is contained in:
parent
f7feb2bbec
commit
0a63ed563f
3 changed files with 15 additions and 9 deletions
|
@ -67,7 +67,8 @@ rsyncParamsFixup = map fixup
|
|||
-}
|
||||
rsyncProgress :: MeterUpdate -> [CommandParam] -> IO Bool
|
||||
rsyncProgress meterupdate params = do
|
||||
r <- withHandle StdoutHandle createProcessSuccess p (feedprogress 0 [])
|
||||
r <- catchBoolIO $
|
||||
withHandle StdoutHandle createProcessSuccess p (feedprogress 0 [])
|
||||
{- For an unknown reason, piping rsync's output like this does
|
||||
- causes it to run a second ssh process, which it neglects to wait
|
||||
- on. Reap the resulting zombie. -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue