summaryrefslogtreecommitdiff
path: root/source3/smbd/process.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2018-04-18 14:29:52 +0200
committerStefan Metzmacher <metze@samba.org>2018-07-12 14:25:18 +0200
commitd0b1f96f086bdd613644f64b3f75ee8c4388f674 (patch)
tree203ee0b9b6fded9021fd32da93a9b58e4ba26639 /source3/smbd/process.c
parente37e41b3cac52e3623f0c79f83733a51edb35c10 (diff)
downloadsamba-d0b1f96f086bdd613644f64b3f75ee8c4388f674.tar.gz
smbd: remove unused change_to_root_user() from smbd_sig_hup_handler()
This is handled by using the root_ev_ctx in order to register the signal event. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/smbd/process.c')
-rw-r--r--source3/smbd/process.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index dc95af17393..0a4106257f5 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -998,7 +998,6 @@ static void smbd_sig_hup_handler(struct tevent_context *ev,
talloc_get_type_abort(private_data,
struct smbd_server_connection);
- change_to_root_user();
DEBUG(1,("Reloading services after SIGHUP\n"));
reload_services(sconn, conn_snum_used, false);
}