diff options
Diffstat (limited to 'Command')
-rw-r--r-- | Command/Add.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Command/Add.hs b/Command/Add.hs index df57ba6cd..7a6696063 100644 --- a/Command/Add.hs +++ b/Command/Add.hs @@ -57,6 +57,7 @@ lockDown file = do createAnnexDirectory tmp liftIO $ do (tmpfile, _handle) <- openTempFile tmp (takeFileName file) + nukeFile tmpfile createLink file tmpfile return $ KeySource { keyFilename = file , contentLocation = tmpfile } |