replacing func() with xfunc() where appropriate

This commit is contained in:
Denis Vlasenko
2006-09-03 12:21:59 +00:00
parent 87d80dcc3e
commit 27af5a0dd3
6 changed files with 12 additions and 21 deletions

View File

@@ -288,10 +288,7 @@ fail:
// daemonize now; don't delay system startup
if (!foreground) {
if (daemon(0, verbose) < 0) {
why = "daemon";
goto bad;
}
xdaemon(0, verbose);
syslog(LOG_INFO, "start, interface %s", intf);
}