[Pkg-shadow-commits] r2874 - in upstream/trunk: . src

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Sat May 9 13:15:44 UTC 2009


Author: nekral-guest
Date: 2009-05-09 13:15:44 +0000 (Sat, 09 May 2009)
New Revision: 2874

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/src/userdel.c
Log:
	* src/userdel.c: Remove duplicate definitions of exit codes.

Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2009-05-09 13:15:38 UTC (rev 2873)
+++ upstream/trunk/ChangeLog	2009-05-09 13:15:44 UTC (rev 2874)
@@ -1,3 +1,7 @@
+2009-05-09  Nicolas François  <nicolas.francois at centraliens.net>
+
+	* src/userdel.c: Remove duplicate definitions of exit codes.
+
 2009-05-07  Nicolas François  <nicolas.francois at centraliens.net>
 
 	* libmisc/non_interactive_pam_conv.c,

Modified: upstream/trunk/src/userdel.c
===================================================================
--- upstream/trunk/src/userdel.c	2009-05-09 13:15:38 UTC (rev 2873)
+++ upstream/trunk/src/userdel.c	2009-05-09 13:15:44 UTC (rev 2874)
@@ -65,9 +65,7 @@
 /*
  * exit status values
  */
-#define E_SUCCESS	0
 #define E_PW_UPDATE	1	/* can't update password file */
-#define E_USAGE		2	/* invalid command syntax */
 #define E_NOTFOUND	6	/* specified user doesn't exist */
 #define E_USER_BUSY	8	/* user currently logged in */
 #define E_GRP_UPDATE	10	/* can't update group file */




More information about the Pkg-shadow-commits mailing list