src/rc/supervise-daemon.c: formatting fixes
Fix misleading indentation and other erroneous whitespace. This fixes #273.
This commit is contained in:
parent
d328de198d
commit
97e74f9734
@ -535,7 +535,7 @@ static void supervisor(char *exec, char **argv)
|
||||
sigaction(SIGTERM, &sa, NULL);
|
||||
|
||||
fp = fopen(pidfile, "w");
|
||||
if (! fp)
|
||||
if (!fp)
|
||||
eerrorx("%s: fopen `%s': %s", applet, pidfile, strerror(errno));
|
||||
fprintf(fp, "%d\n", getpid());
|
||||
fclose(fp);
|
||||
@ -604,7 +604,7 @@ static void supervisor(char *exec, char **argv)
|
||||
healthcheck_respawn = 1;
|
||||
}
|
||||
}
|
||||
if (exiting ) {
|
||||
if (exiting) {
|
||||
alarm(0);
|
||||
syslog(LOG_INFO, "stopping %s, pid %d", exec, child_pid);
|
||||
nkilled = run_stop_schedule(applet, NULL, NULL, child_pid, 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user