diff options
author | Denis Vlasenko | 2007-05-30 00:29:55 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-05-30 00:29:55 +0000 |
commit | 4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b (patch) | |
tree | 7dfc507c1a7d14fb61d4fd0c68481e01b4a36ba1 /loginutils/deluser.c | |
parent | 4ef7d3a2de3df27dde80a64987202f10aebfe925 (diff) | |
download | busybox-4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b.zip busybox-4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b.tar.gz |
whitespace fixes
Diffstat (limited to 'loginutils/deluser.c')
-rw-r--r-- | loginutils/deluser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/loginutils/deluser.c b/loginutils/deluser.c index 59e69b9..0e4f02d 100644 --- a/loginutils/deluser.c +++ b/loginutils/deluser.c @@ -96,14 +96,14 @@ static void del_line_matching(char **args, int deluser_main(int argc, char **argv); int deluser_main(int argc, char **argv) { - if (argc == 2 - || (ENABLE_FEATURE_DEL_USER_FROM_GROUP + if (argc == 2 + || (ENABLE_FEATURE_DEL_USER_FROM_GROUP && (applet_name[3] == 'g' && argc == 3)) ) { if (geteuid()) bb_error_msg_and_die(bb_msg_perm_denied_are_you_root); - - if ((ENABLE_FEATURE_DEL_USER_FROM_GROUP && argc != 3) + + if ((ENABLE_FEATURE_DEL_USER_FROM_GROUP && argc != 3) || ENABLE_DELUSER || (ENABLE_DELGROUP && ENABLE_DESKTOP) ) { |