From 1958ba763766a9e12adec916e425a597d56b525f Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Tue, 15 Oct 2024 15:44:19 +0200 Subject: Moved some code out of `change_user_group()` to `chmod_chown()`. * makes lots sense for nDPIsrvd and some examples * added debian dpkg scripts for user mgmt * nDPIsrvd: set different groups for collector/distributor UNIX socket Signed-off-by: Toni Uhlig --- examples/c-analysed/c-analysed.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/c-analysed') diff --git a/examples/c-analysed/c-analysed.c b/examples/c-analysed/c-analysed.c index 71ab7fa4a..2811f70f8 100644 --- a/examples/c-analysed/c-analysed.c +++ b/examples/c-analysed/c-analysed.c @@ -2059,7 +2059,7 @@ int main(int argc, char ** argv) } errno = 0; - if (user != NULL && change_user_group(user, group, pidfile, NULL, NULL) != 0) + if (user != NULL && change_user_group(user, group, pidfile) != 0) { if (errno != 0) { -- cgit v1.2.3