aboutsummaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-05-30 00:29:55 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-05-30 00:29:55 +0000
commit4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b (patch)
tree7dfc507c1a7d14fb61d4fd0c68481e01b4a36ba1 /loginutils
parent4ef7d3a2de3df27dde80a64987202f10aebfe925 (diff)
downloadbusybox-4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b.tar.gz
busybox-4b924f3a5c9c549c75deed8bdda2cbd82fd7f64b.tar.bz2
whitespace fixes
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/Config.in2
-rw-r--r--loginutils/addgroup.c4
-rw-r--r--loginutils/cryptpw.c2
-rw-r--r--loginutils/deluser.c8
4 files changed, 8 insertions, 8 deletions
diff --git a/loginutils/Config.in b/loginutils/Config.in
index 919091ec6..cab7a11a0 100644
--- a/loginutils/Config.in
+++ b/loginutils/Config.in
@@ -79,7 +79,7 @@ config FEATURE_DEL_USER_FROM_GROUP
default n
depends on DELGROUP
help
- If called with two non-option arguments, deluser
+ If called with two non-option arguments, deluser
or delgroup will remove an user from a specified group.
config ADDUSER
diff --git a/loginutils/addgroup.c b/loginutils/addgroup.c
index 2487aad31..b29b66527 100644
--- a/loginutils/addgroup.c
+++ b/loginutils/addgroup.c
@@ -23,7 +23,7 @@ static void xgroup_study(struct group *g)
goto error;
}
- /* Check if the desired gid is free or
+ /* Check if the desired gid is free or
find the first free one */
do {
if (g->gr_gid == max) { /* out of bounds: exit */
@@ -147,7 +147,7 @@ int addgroup_main(int argc, char **argv)
#if ENABLE_FEATURE_ADDUSER_TO_GROUP
if (argc == 2) {
struct group *gr;
-
+
/* check if group and user exist */
xuname2uid(argv[0]); /* unknown user: exit */
xgroup2gid(argv[1]); /* unknown group: exit */
diff --git a/loginutils/cryptpw.c b/loginutils/cryptpw.c
index 0c298c50d..dd7304613 100644
--- a/loginutils/cryptpw.c
+++ b/loginutils/cryptpw.c
@@ -1,7 +1,7 @@
/* vi: set sw=4 ts=4: */
/*
* cryptpw.c
- *
+ *
* Cooked from passwd.c by Thomas Lundquist <thomasez@zelow.no>
*/
diff --git a/loginutils/deluser.c b/loginutils/deluser.c
index 59e69b9e9..0e4f02ddc 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)
) {