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