diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-03 00:29:27 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-03 00:29:27 -0400 |
commit | ee554542c1f3ee63efe5533267cf9cd1e5c83d52 (patch) | |
tree | c5378041794d4a7faad6316e915cffb804e153d2 /Remote/Rsync.hs | |
parent | 34abd7bca80a8cc012f92d64116014449b1b2392 (diff) |
after is a better name for observe_
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 |