+2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/useradd.c: Change message in case of find_new_sub_uids /
+ find_new_sub_gids failure. This complements the messages already
+ provided by these APIs.
+
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
* lib/subordinateio.c: Fix handling of boundaries.
if (is_sub_uid) {
if (find_new_sub_uids(user_name, &sub_uid_start, &sub_uid_count) < 0) {
fprintf (stderr,
- _("%s: can't find subordinate user range\n"),
- Prog);
+ _("%s: can't create subordinate user IDs\n"),
+ Prog);
fail_exit(E_SUB_UID_UPDATE);
}
}
if (is_sub_gid) {
if (find_new_sub_gids(user_name, &sub_gid_start, &sub_gid_count) < 0) {
fprintf (stderr,
- _("%s: can't find subordinate group range\n"),
- Prog);
+ _("%s: can't create subordinate group IDs\n"),
+ Prog);
fail_exit(E_SUB_GID_UPDATE);
}
}