mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-17 12:51:33 -05:00
Make sure to reset chpasswdOptions.
This commit is contained in:
parent
59ad42f086
commit
6ba0edae23
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,8 @@ function createUser() {
|
|||
if [ "${args[2]}" == "e" ]; then
|
||||
chpasswdOptions="-e"
|
||||
index=1
|
||||
else
|
||||
chpasswdOptions=""
|
||||
fi
|
||||
|
||||
uid="${args[$[$index+2]]}"; validateArg "UID" "$uid" "$reUid" || return 1
|
||||
|
|
Loading…
Reference in a new issue