- fix check for group and user, remove some whitespace while at it.
This commit is contained in:
@ -139,8 +139,8 @@ extern int makedevs_main(int argc, char **argv)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
gid = group ? get_ug_id(group, bb_xgetgrnam) : getgid();
|
gid = (*group) ? get_ug_id(group, bb_xgetgrnam) : getgid();
|
||||||
uid = user ? get_ug_id(user, bb_xgetpwnam) : getuid();
|
uid = (*user) ? get_ug_id(user, bb_xgetpwnam) : getuid();
|
||||||
full_name = concat_path_file(rootdir, name);
|
full_name = concat_path_file(rootdir, name);
|
||||||
|
|
||||||
if (type == 'd') {
|
if (type == 'd') {
|
||||||
|
Reference in New Issue
Block a user