aboutsummaryrefslogtreecommitdiff
path: root/Utility/Rsync.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Utility/Rsync.hs')
-rw-r--r--Utility/Rsync.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utility/Rsync.hs b/Utility/Rsync.hs
index 08caeb12b..f8e19eb57 100644
--- a/Utility/Rsync.hs
+++ b/Utility/Rsync.hs
@@ -53,7 +53,7 @@ rsync = boolSystem "rsync"
- The params must enable rsync's --progress mode for this to work.
-}
rsyncProgress :: (Integer -> IO ()) -> [CommandParam] -> IO Bool
-rsyncProgress callback params = catchBoolIO $
+rsyncProgress callback params =
withHandle StdoutHandle createProcessSuccess p (feedprogress 0 [])
where
p = proc "rsync" (toCommand params)