We don't check exec when starting, so don't when testing for crashed.

This commit is contained in:
Roy Marples 2008-09-22 20:07:14 +00:00
parent ffc79a50c2
commit 13d88731b7

View File

@ -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 {