diff options
Diffstat (limited to 'Command/Copy.hs')
-rw-r--r-- | Command/Copy.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Copy.hs b/Command/Copy.hs index 77711f05b..1711b0c63 100644 --- a/Command/Copy.hs +++ b/Command/Copy.hs @@ -52,7 +52,7 @@ start o file key = stopUnless shouldCopy $ | autoMode o = want <||> numCopiesCheck file key (<) | otherwise = return True want = case Command.Move.fromToOptions (moveOptions o) of - ToRemote _ -> - wantGet False (Just key) (Just file) - FromRemote dest -> (Remote.uuid <$> getParsed dest) >>= + ToRemote dest -> (Remote.uuid <$> getParsed dest) >>= wantSend False (Just key) (Just file) + FromRemote _ -> + wantGet False (Just key) (Just file) |