* 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:
parent
788374bd8c
commit
8690c74d6a
@ -779,9 +779,9 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><replaceable>13</replaceable></term>
|
<term><replaceable>14</replaceable></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>can't create mail spool</para>
|
<para>can't update SELinux user mapping</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
@ -167,8 +167,7 @@ static bool home_added = false;
|
|||||||
#define E_NAME_IN_USE 9 /* username already in use */
|
#define E_NAME_IN_USE 9 /* username already in use */
|
||||||
#define E_GRP_UPDATE 10 /* can't update group file */
|
#define E_GRP_UPDATE 10 /* can't update group file */
|
||||||
#define E_HOMEDIR 12 /* can't create home directory */
|
#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 DGROUP "GROUP="
|
||||||
#define DHOME "HOME="
|
#define DHOME "HOME="
|
||||||
|
Loading…
Reference in New Issue
Block a user