squelch warning
This commit is contained in:
parent
7c7da72cfd
commit
15ecce2bfd
1 changed files with 2 additions and 2 deletions
|
@ -60,8 +60,8 @@ lockDown file = do
|
|||
tmp <- fromRepo gitAnnexTmpDir
|
||||
createAnnexDirectory tmp
|
||||
liftIO $ do
|
||||
(tmpfile, handle) <- openTempFile tmp (takeFileName file)
|
||||
hClose handle
|
||||
(tmpfile, h) <- openTempFile tmp (takeFileName file)
|
||||
hClose h
|
||||
nukeFile tmpfile
|
||||
createLink file tmpfile
|
||||
return $ KeySource { keyFilename = file , contentLocation = tmpfile }
|
||||
|
|
Loading…
Reference in a new issue