pointless whitespace/comment fixes, no code changes
This commit is contained in:
parent
7f9593753a
commit
7223424815
@ -128,7 +128,7 @@ int adduser_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
|
|
||||||
#if ENABLE_FEATURE_SHADOWPASSWDS
|
#if ENABLE_FEATURE_SHADOWPASSWDS
|
||||||
p = xasprintf("!:%u:0:99999:7:::", (unsigned)(time(NULL) / 86400)); /* sp->sp_lstchg */
|
p = xasprintf("!:%u:0:99999:7:::", (unsigned)(time(NULL) / 86400)); /* sp->sp_lstchg */
|
||||||
/* Ignore errors: if file is missing we suppose admin doesn't want it */
|
/* ignore errors: if file is missing we suppose admin doesn't want it */
|
||||||
update_passwd(bb_path_shadow_file, pw.pw_name, p, NULL);
|
update_passwd(bb_path_shadow_file, pw.pw_name, p, NULL);
|
||||||
if (ENABLE_FEATURE_CLEAN_UP)
|
if (ENABLE_FEATURE_CLEAN_UP)
|
||||||
free(p);
|
free(p);
|
||||||
@ -140,7 +140,7 @@ int adduser_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
if (!usegroup)
|
if (!usegroup)
|
||||||
addgroup_wrapper(&pw);
|
addgroup_wrapper(&pw);
|
||||||
|
|
||||||
/* Clear the umask for this process so it doesn't
|
/* clear the umask for this process so it doesn't
|
||||||
* screw up the permissions on the mkdir and chown. */
|
* screw up the permissions on the mkdir and chown. */
|
||||||
umask(0);
|
umask(0);
|
||||||
if (!(option_mask32 & OPT_DONT_MAKE_HOME)) {
|
if (!(option_mask32 & OPT_DONT_MAKE_HOME)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user