summaryrefslogtreecommitdiff
path: root/Remote/Rsync.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-01-03 00:29:27 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-01-03 00:29:27 -0400
commitee554542c1f3ee63efe5533267cf9cd1e5c83d52 (patch)
treec5378041794d4a7faad6316e915cffb804e153d2 /Remote/Rsync.hs
parent34abd7bca80a8cc012f92d64116014449b1b2392 (diff)
after is a better name for observe_
Diffstat (limited to 'Remote/Rsync.hs')
-rw-r--r--Remote/Rsync.hs2
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