diff options
Diffstat (limited to 'Remote/Rsync.hs')
-rw-r--r-- | Remote/Rsync.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Remote/Rsync.hs b/Remote/Rsync.hs index 1461b96cd..c7b60467c 100644 --- a/Remote/Rsync.hs +++ b/Remote/Rsync.hs @@ -172,7 +172,7 @@ withRsyncScratchDir a = do let tmp = t </> "rsynctmp" </> show pid nuke tmp liftIO $ createDirectoryIfMissing True tmp - observe_ (nuke tmp) (a tmp) + nuke tmp `after` a tmp where nuke d = liftIO $ doesDirectoryExist d >>? removeDirectoryRecursive d |