summaryrefslogtreecommitdiff
path: root/Command/Copy.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Copy.hs')
-rw-r--r--Command/Copy.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Copy.hs b/Command/Copy.hs
index c8a2d7efc..f044facf4 100644
--- a/Command/Copy.hs
+++ b/Command/Copy.hs
@@ -31,5 +31,5 @@ start to from file (key, backend) = autoCopies file key (<) $
Command.Move.start to from False file (key, backend)
where
shouldCopy = case to of
- Nothing -> checkAuto $ shouldGet file key
- Just r -> checkAuto $ shouldSend r file
+ Nothing -> checkAuto $ wantGet (Just file)
+ Just r -> checkAuto $ wantSend (Remote.uuid r) (Just file)