s4:server: avoid using pid=0 for the parent 'samba' process
authorStefan Metzmacher <metze@samba.org>
Mon, 28 Jan 2019 15:29:51 +0000 (16:29 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Feb 2019 14:33:25 +0000 (15:33 +0100)
commit676a2fcfdf043cee82a47c8b340671c351e5e75c
treede9ae679416093daf1a572a26f9d7e968b83076e
parent121348d4a560e925d1355a1cf4a9db39b25b2d9d
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