projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server: assume PID is dead on ESRCH
[fio.git]
/
server.c
diff --git
a/server.c
b/server.c
index 339bb66a6f3b980e6a031434e23a5344f544b9c5..e6c49cc88abfeee02a5aa9163fc89166d43a10fe 100644
(file)
--- a/
server.c
+++ b/
server.c
@@
-1008,7
+1008,7
@@
static int check_existing_pidfile(const char *pidfile)
pid = atoi(buf);
if (kill(pid, SIGCONT) < 0)
pid = atoi(buf);
if (kill(pid, SIGCONT) < 0)
- return
0
;
+ return
errno != ESRCH
;
return 1;
}
return 1;
}