fix error throwing
This commit is contained in:
parent
7b0c6177ff
commit
83a9bb624b
2 changed files with 8 additions and 6 deletions
|
@ -58,7 +58,7 @@ cleanup file key = do
|
|||
-- touch the symlink to have the same mtime as the file it points to
|
||||
s <- liftIO $ getFileStatus file
|
||||
let mtime = modificationTime s
|
||||
_ <- liftIO $ touch file (TimeSpec mtime 0) False
|
||||
liftIO $ touch file (TimeSpec mtime 0) False
|
||||
|
||||
Annex.queue "add" [Param "--"] file
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue