~vcs-imports/busybox/trunk

« back to all changes in this revision

Viewing changes to loginutils/addgroup.c

  • Committer: Denys Vlasenko
  • Author(s): Christian Franke
  • Date: 2023-11-13 10:32:35 UTC
  • Revision ID: git-v1:a63b60bdd6fa26b867c80d44074118babbae7ffd
Cygwin: regenerate defconfig

Signed-off-by: Christian Franke <christian.franke@t-online.de>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
10
10
 */
11
11
//config:config ADDGROUP
12
 
//config:       bool "addgroup (8.6 kb)"
 
12
//config:       bool "addgroup (8.8 kb)"
13
13
//config:       default y
14
14
//config:       select LONG_OPTS
15
15
//config:       help
102
102
        /* add entry to group */
103
103
        p = xasprintf("x:%u:", (unsigned) gr.gr_gid);
104
104
        if (update_passwd(bb_path_group_file, group, p, NULL) < 0)
105
 
                exit(EXIT_FAILURE);
 
105
                exit_FAILURE();
106
106
        if (ENABLE_FEATURE_CLEAN_UP)
107
107
                free(p);
108
108
#if ENABLE_FEATURE_SHADOWPASSWDS