]> git.pld-linux.org Git - packages/pwdutils.git/commitdiff
- new
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 12 Jun 2004 13:13:08 +0000 (13:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pwdutils-f-option.patch -> 1.1

pwdutils-f-option.patch [new file with mode: 0644]

diff --git a/pwdutils-f-option.patch b/pwdutils-f-option.patch
new file mode 100644 (file)
index 0000000..71e6cce
--- /dev/null
@@ -0,0 +1,15 @@
+diff -urN pwdutils-2.6.4.org/src/groupadd.c pwdutils-2.6.4/src/groupadd.c
+--- pwdutils-2.6.4.org/src/groupadd.c  2004-06-12 15:07:20.538718288 +0200
++++ pwdutils-2.6.4/src/groupadd.c      2004-06-12 15:12:56.616626680 +0200
+@@ -475,7 +475,10 @@
+     {                         /* Group does already exists.  */
+       fprintf (stderr, _("%s: Group `%s' already exists.\n"),
+              program, utf8_to_locale (new_group));
+-      return E_NAME_IN_USE;
++      if (force_add)
++        return E_SUCCESS;
++      else
++        return E_NAME_IN_USE;
+     }
+   else
+     {
This page took 0.026618 seconds and 4 git commands to generate.