diff options
author | 2015-05-12 15:19:08 -0400 | |
---|---|---|
committer | 2015-05-12 15:20:22 -0400 | |
commit | b94eafec8c4a7868da753f9b22ca823552e9764c (patch) | |
tree | b56d9b021182fa6e143cae726a9417f7233c3752 /Command/Fsck.hs | |
parent | fd33ca1ed6709837bc92d065ff345478e359a7d2 (diff) |
Take space that will be used by running downloads into account when checking annex.diskreserve.
Diffstat (limited to 'Command/Fsck.hs')
-rw-r--r-- | Command/Fsck.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Fsck.hs b/Command/Fsck.hs index 8414b5b26..26c788d56 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -135,7 +135,7 @@ performRemote key file backend numcopies remote = let cleanup = liftIO $ catchIO (removeFile tmp) (const noop) cleanup cleanup `after` a tmp - getfile tmp = ifM (checkDiskSpace (Just tmp) key 0) + getfile tmp = ifM (checkDiskSpace (Just tmp) key 0 True) ( ifM (Remote.retrieveKeyFileCheap remote key (Just file) tmp) ( return (Just True) , ifM (Annex.getState Annex.fast) |