summaryrefslogtreecommitdiffstats
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index bc9d293b49..5955c2956d 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1531,6 +1531,10 @@ extern void build_options(bool screen);
exit(1);
}
+ if (is_daemon && !interactive) {
+ daemon_ready("smbd");
+ }
+
/* only start other daemons if we are running as a daemon
* -- bad things will happen if smbd is launched via inetd
* and we fork a copy of ourselves here */