]> git.pld-linux.org Git - packages/pwdutils.git/blame - pwdutils-f-option.patch
make is optional in pam, make it optional here as well
[packages/pwdutils.git] / pwdutils-f-option.patch
CommitLineData
cf881c20 1--- pwdutils-2.6.90/src/groupadd.c.orig 2004-08-16 08:05:50.000000000 +0000
2+++ pwdutils-2.6.90/src/groupadd.c 2004-08-17 19:55:48.533394920 +0000
3@@ -486,7 +486,10 @@
02647c9c
AM
4 fprintf (stderr, _("%s: Group `%s' already exists.\n"),
5 program, utf8_to_locale (new_group));
cf881c20 6 sec_log (program, MSG_GROUP_ALREADY_EXISTS, new_group, getuid ());
02647c9c
AM
7- return E_NAME_IN_USE;
8+ if (force_add)
cf881c20 9+ return E_SUCCESS;
02647c9c 10+ else
cf881c20 11+ return E_NAME_IN_USE;
02647c9c
AM
12 }
13 else
14 {
This page took 0.033851 seconds and 4 git commands to generate.