diff options
Diffstat (limited to 'Remote/Rsync.hs')
-rw-r--r-- | Remote/Rsync.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Remote/Rsync.hs b/Remote/Rsync.hs index 54fb890ca..577ea0b04 100644 --- a/Remote/Rsync.hs +++ b/Remote/Rsync.hs @@ -119,8 +119,8 @@ retrieveCheap o k f = do then retrieve o k f else return False -retrieveEncrypted :: RsyncOpts -> (Cipher, Key) -> FilePath -> Annex Bool -retrieveEncrypted o (cipher, enck) f = withTmp enck $ \tmp -> do +retrieveEncrypted :: RsyncOpts -> (Cipher, Key) -> Key -> FilePath -> Annex Bool +retrieveEncrypted o (cipher, enck) _ f = withTmp enck $ \tmp -> do res <- retrieve o enck tmp if res then liftIO $ catchBoolIO $ do |