summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2022-12-02 15:36:39 +0100
committerJeremy Allison <jra@samba.org>2022-12-14 01:38:29 +0000
commit14571c5cc47ccc1d168f38c65d786b61492485d9 (patch)
treec0650b6829356903d3d7b7a8b863c236752b6078
parent19c82c19c009eefe975ae95c8b709fc93f5f4c39 (diff)
downloadsamba-14571c5cc47ccc1d168f38c65d786b61492485d9.tar.gz
smbd: prepare smbd for calling setproctitle()
Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r--source3/smbd/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 9b211238c11..7e0ee39b87d 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1627,6 +1627,8 @@ extern void build_options(bool screen);
};
bool ok;
+ setproctitle_init(argc, discard_const(argv), environ);
+
/*
* Do this before any other talloc operation
*/