summaryrefslogtreecommitdiff
path: root/Command/ReKey.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-10-01 14:13:53 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-10-01 14:18:57 -0400
commit55d635e356ecae2dd90d8cea355656faf3b24db1 (patch)
tree803d323f14548495c90eb402e9542a84c595a5aa /Command/ReKey.hs
parent79e163ec1182e4b247f3a9b86f9096a96cdd299a (diff)
rename function
Diffstat (limited to 'Command/ReKey.hs')
-rw-r--r--Command/ReKey.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/ReKey.hs b/Command/ReKey.hs
index 597be57a5..e38ce3c50 100644
--- a/Command/ReKey.hs
+++ b/Command/ReKey.hs
@@ -52,7 +52,7 @@ perform file oldkey newkey = do
{- Make a hard link to the old key content (when supported),
- to avoid wasting disk space. -}
linkKey :: Key -> Key -> Annex Bool
-linkKey oldkey newkey = getViaTmpUnchecked newkey $ \tmp -> do
+linkKey oldkey newkey = getViaTmp' newkey $ \tmp -> do
src <- calcRepo $ gitAnnexLocation oldkey
liftIO $ ifM (doesFileExist tmp)
( return True