chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3039b71
)
prefork-interp: clean up old sockets, fix
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 20 Aug 2022 12:10:14 +0000
(13:10 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sun, 21 Aug 2022 20:21:10 +0000
(21:21 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
cprogs/prefork-interp.c
patch
|
blob
|
history
diff --git
a/cprogs/prefork-interp.c
b/cprogs/prefork-interp.c
index 305314a8c285e9c6669bff67b37656a7c279b3a9..b59eed8204cd367d52e6bd98d70f44404554fb3f 100644
(file)
--- a/
cprogs/prefork-interp.c
+++ b/
cprogs/prefork-interp.c
@@
-261,7
+261,7
@@
static void preclean(void) {
int lock_fd = flock_file(l_path);
// Recheck atime - we might have raced!
time_t atime = preclean_stat_atime(s_path);
- if (atime
=
= p->atime) {
+ if (atime
!
= p->atime) {
// Raced. This will leave use deleting too few things. Whatever.
} else {
int r= unlink(s_path);