We don't check exec when starting, so don't when testing for crashed.
This commit is contained in:
parent
ffc79a50c2
commit
13d88731b7
@ -534,7 +534,9 @@ bool rc_service_daemons_crashed(const char *service)
|
|||||||
free(pidfile);
|
free(pidfile);
|
||||||
pidfile = NULL;
|
pidfile = NULL;
|
||||||
|
|
||||||
/* We have the pid, so no need to match on name */
|
/* We have the pid, so no need to match on exec or name */
|
||||||
|
free(exec);
|
||||||
|
exec = NULL;
|
||||||
free(name);
|
free(name);
|
||||||
name = NULL;
|
name = NULL;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user