Patch from Vladimir N. Oleynik to save 128 bytes by moving error

checking for some my_* functions to utility.c
This commit is contained in:
Eric Andersen
2001-02-27 18:22:03 +00:00
parent e677dfedd1
commit 4142d4dc66
6 changed files with 16 additions and 28 deletions

View File

@@ -76,9 +76,6 @@ extern int id_main(int argc, char **argv)
pwnam=my_getpwnam(user);
grnam=my_getgrnam(group);
if (gid == -1 || pwnam==-1 || grnam==-1) {
error_msg_and_die("%s: No such user", user);
}
if (no_group) {
if(name_not_number && user)