s4:server: avoid using pid=0 for the parent 'samba' process
commit45c19f4c25393bcc9db56e93a79ac25cef7e6280
authorStefan Metzmacher <metze@samba.org>
Mon, 28 Jan 2019 15:29:51 +0000 (28 16:29 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Feb 2019 19:41:25 +0000 (5 20:41 +0100)
tree1f35ded83a14062d07df3bb1190893fd1de950f0
parentf105c379545ad51227126a239a60f946a2ab4a09
s4:server: avoid using pid=0 for the parent 'samba' process

It confuses the 'samba-tool processes' output and log messages.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13752

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Björn Baumbach <bbaumbach@samba.org>
(cherry picked from commit 5bd7a8e5685caa09067745b108ef7e53e3108e97)
source4/smbd/server.c