Some updates for the day,

-Erik
This commit is contained in:
Erik Andersen
2000-02-18 21:34:17 +00:00
parent bf5f009862
commit e272915e1f
19 changed files with 128 additions and 53 deletions

View File

@ -365,6 +365,17 @@ extern int syslogd_main(int argc, char **argv)
*p++ = '\0';
}
#ifdef BB_KLOGD
/* Start up the klogd process */
if (startKlogd == TRUE) {
klogd_pid = fork();
if (klogd_pid == 0) {
strncpy(argv[0], "klogd", strlen(argv[0]));
doKlogd();
}
}
#endif
if (doFork == TRUE) {
pid = fork();
if (pid < 0)
@ -377,16 +388,5 @@ extern int syslogd_main(int argc, char **argv)
doSyslogd();
}
#ifdef BB_KLOGD
/* Start up the klogd process */
if (startKlogd == TRUE) {
klogd_pid = fork();
if (klogd_pid == 0) {
strncpy(argv[0], "klogd", strlen(argv[0]));
doKlogd();
}
}
#endif
exit(TRUE);
}