chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
git-cache-proxy: housekeeping: check errno value from stat after deletion
[chiark-utils.git]
/
scripts
/
git-cache-proxy
diff --git
a/scripts/git-cache-proxy
b/scripts/git-cache-proxy
index 0c6ba556d4909dd70b3b7dd3c8ff01a001759bc4..b0c9502f8554b8f3f15345f784a624aa5dd6b10f 100755
(executable)
--- a/
scripts/git-cache-proxy
+++ b/
scripts/git-cache-proxy
@@
-423,6
+423,8
@@
sub housekeeping () {
logm 'info', "problem deleting: $file: $message";
}
die "$dir: problem deleting file(s)\n";
+ } elsif ($! != ENOENT) {
+ die "$tdir: cannot stat after deletion: $!\n";
}
}
};