summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorEric Andersen2001-02-27 18:22:03 +0000
committerEric Andersen2001-02-27 18:22:03 +0000
commit4142d4dc661c85b731c21b3296a04d1c5b5c3367 (patch)
tree11f7cf83505eb63db8e5dfaa47c5d5b8b81e6176 /coreutils
parente677dfedd1183da404e781a48607ad7a8a7e6d87 (diff)
downloadbusybox-4142d4dc661c85b731c21b3296a04d1c5b5c3367.zip
busybox-4142d4dc661c85b731c21b3296a04d1c5b5c3367.tar.gz
Patch from Vladimir N. Oleynik to save 128 bytes by moving error
checking for some my_* functions to utility.c
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/id.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/coreutils/id.c b/coreutils/id.c
index 3667b32..3f90d55 100644
--- a/coreutils/id.c
+++ b/coreutils/id.c
@@ -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)