mirror of
https://git.busybox.net/busybox.git
synced 2024-12-19 11:23:21 +08:00
Bertrand Baudet writes:
Looks like the -D and -H options of the adduser applet aren't handle properly in BusyBox. This patch fixes the masks definition for those options according to there position in the optstring. Patch against RC2 but should also apply cleanly against CVS. Bertrand
This commit is contained in:
parent
acd647c877
commit
88e38ca2fb
@ -238,8 +238,8 @@ void if_i_am_not_root(void)
|
||||
}
|
||||
}
|
||||
|
||||
#define SETPASS 1
|
||||
#define MAKEHOME 4
|
||||
#define SETPASS (1 << 4)
|
||||
#define MAKEHOME (1 << 6)
|
||||
|
||||
/*
|
||||
* adduser will take a login_name as its first parameter.
|
||||
|
Loading…
Reference in New Issue
Block a user