projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support for tar -z option for uncompressing only
[oweals/busybox.git]
/
whoami.c
diff --git
a/whoami.c
b/whoami.c
index f3c21b3f5a89886b49fee8ca2d219afa2fe81774..6a5dd2c04ef9b5bfe37ce5bd252b41ee80ef1cec 100644
(file)
--- a/
whoami.c
+++ b/
whoami.c
@@
-35,8
+35,7
@@
extern int whoami_main(int argc, char **argv)
my_getpwuid(user, uid);
if (user) {
puts(user);
my_getpwuid(user, uid);
if (user) {
puts(user);
-
exit(TRUE)
;
+
return EXIT_SUCCESS
;
}
}
- errorMsg("cannot find username for UID %u\n", (unsigned) uid);
- return(FALSE);
+ error_msg_and_die("cannot find username for UID %u\n", (unsigned) uid);
}
}