diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2024-10-15 15:44:19 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2024-10-16 13:03:42 +0200 |
commit | 1958ba763766a9e12adec916e425a597d56b525f (patch) | |
tree | 0852d78a2ec463bd51b2a751c996454ac2e0a528 /examples/c-analysed | |
parent | a6290ee57c7c5171bffbde106be60d1b01ae09e9 (diff) |
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 <matzeton@googlemail.com>
Diffstat (limited to 'examples/c-analysed')
-rw-r--r-- | examples/c-analysed/c-analysed.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |