* src/useradd.c: Cleanup, return code 13 no more used.

* man/useradd.8.xml: Document return code 14, and remove return
	code 13.
This commit is contained in:
nekral-guest 2012-05-20 12:26:54 +00:00
parent 788374bd8c
commit 8690c74d6a
2 changed files with 3 additions and 4 deletions

View File

@ -779,9 +779,9 @@
</listitem>
</varlistentry>
<varlistentry>
<term><replaceable>13</replaceable></term>
<term><replaceable>14</replaceable></term>
<listitem>
<para>can't create mail spool</para>
<para>can't update SELinux user mapping</para>
</listitem>
</varlistentry>
</variablelist>

View File

@ -167,8 +167,7 @@ static bool home_added = false;
#define E_NAME_IN_USE 9 /* username already in use */
#define E_GRP_UPDATE 10 /* can't update group file */
#define E_HOMEDIR 12 /* can't create home directory */
#define E_MAIL_SPOOL 13 /* can't create mail spool */
#define E_SE_UPDATE 14 /* can't update SELinux user mapping */
#define E_SE_UPDATE 14 /* can't update SELinux user mapping */
#define DGROUP "GROUP="
#define DHOME "HOME="