Cleaned up error handling and uses of TRUE/FALSE.
This commit is contained in:
parent
97d2612566
commit
ac1169b20f
@ -33,8 +33,7 @@ extern int logname_main(int argc, char **argv)
|
||||
my_getpwuid(user, geteuid());
|
||||
if (user) {
|
||||
puts(user);
|
||||
exit(TRUE);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
errorMsg("no login name\n");
|
||||
return(FALSE);
|
||||
fatalError("no login name\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user