parent
e7ec55a2ad
commit
98fbb5b98b
@ -722,7 +722,8 @@ init(int argc, char **argv)
|
||||
/* Symbolic username given, not UID. */
|
||||
struct passwd *entry = getpwnam(ary_options[i].value);
|
||||
if (!entry)
|
||||
DPRINTF(E_FATAL, L_GENERAL, "Bad user '%s'.\n", argv[i]);
|
||||
DPRINTF(E_FATAL, L_GENERAL, "Bad user '%s'.\n",
|
||||
ary_options[i].value);
|
||||
uid = entry->pw_uid;
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user