setUser(char const *user)
{
struct passwd *p = 0;
- if (user!=0 && strcmp(user, "root")!=0) {
+ if (user!=0 && strcmp(user, "root")!=0 && strcmp(user, "0")!=0) {
errno = 0;
p = getpwnam(user);
if (p==0) {
default :
WRITE_MSG(2, "Try '");
WRITE_STR(2, argv[0]);
- WRITE_MSG(2, " --help\" for more information.\n");
+ WRITE_MSG(2, " --help' for more information.\n");
return EXIT_FAILURE;
break;
}