diff options
Diffstat (limited to 'loginutils/adduser.c')
-rw-r--r-- | loginutils/adduser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/loginutils/adduser.c b/loginutils/adduser.c index 0133d82..936e48e 100644 --- a/loginutils/adduser.c +++ b/loginutils/adduser.c @@ -137,8 +137,8 @@ static int adduser(struct passwd *p, unsigned long flags) if (mkdir(p->pw_dir, 0755) || chown(p->pw_dir, p->pw_uid, p->pw_gid) || chmod(p->pw_dir, 02755)) { - bb_perror_msg("%s", p->pw_dir); - } + bb_perror_msg("%s", p->pw_dir); + } } if (!(flags & DONT_SET_PASS)) { @@ -175,7 +175,7 @@ int adduser_main(int argc, char **argv) /* got root? */ if(geteuid()) { bb_error_msg_and_die(bb_msg_perm_denied_are_you_root); - } + } /* create string for $HOME if not specified already */ if (!pw.pw_dir) { |