summaryrefslogtreecommitdiff
path: root/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/daemon.c b/daemon.c
index c3f86410d4..e184752298 100644
--- a/daemon.c
+++ b/daemon.c
@@ -628,8 +628,9 @@ int main(int argc, char **argv)
if (inetd_mode) {
fclose(stderr); //FIXME: workaround
+ log_syslog = 1;
return execute();
- } else {
- return serve(port);
}
+
+ return serve(port);
}