[Pkg-shadow-commits] r490 - branches/experimental/debian/patches

Nicolas FRANCOIS nekral-guest at costa.debian.org
Mon Aug 29 19:08:17 UTC 2005


Author: nekral-guest
Date: 2005-08-29 19:08:17 +0000 (Mon, 29 Aug 2005)
New Revision: 490

Modified:
   branches/experimental/debian/patches/443_chage_exit_values
Log:
After discuting with Tomasz on IRC, the returned value will be 14 (and
name of the constant will be E_SHADOW_NOTFOUND.


Modified: branches/experimental/debian/patches/443_chage_exit_values
===================================================================
--- branches/experimental/debian/patches/443_chage_exit_values	2005-08-29 19:06:29 UTC (rev 489)
+++ branches/experimental/debian/patches/443_chage_exit_values	2005-08-29 19:08:17 UTC (rev 490)
@@ -30,7 +30,7 @@
 +		         Prog);
 +		SYSLOG ((LOG_ERR, "can't find the shadow password file"));
 +		closelog ();
-+		exit (E_NOT_SHADOWED);
++		exit (E_SHADOW_NOTFOUND);
 +	}
 +
  	/*
@@ -44,4 +44,4 @@
  #define E_NOPERM        1	/* permission denied */
  #define E_USAGE         2	/* invalid command syntax */
  #define E_BAD_ARG       3	/* invalid argument to option */
-+#define E_NOT_SHADOWED	4	/* no shadow password file */
++#define E_SHADOW_NOTFOUND 14	/* no shadow password file */




More information about the Pkg-shadow-commits mailing list