0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-11-17 12:51:33 -05:00

Fix command causing unit tests to fail

This commit is contained in:
Jeremy Combs 2022-12-28 09:47:56 -05:00
parent ffeb104bee
commit ffb2802448
No known key found for this signature in database

View file

@ -34,7 +34,7 @@ IFS=':' read -ra args <<< "$1"
skipIndex=0 skipIndex=0
chpasswdOptions="" chpasswdOptions=""
useraddOptions=(--no-user-group --badnames) useraddOptions=(--no-user-group --badname)
user="${args[0]}"; validateArg "username" "$user" "$reUser" || exit 1 user="${args[0]}"; validateArg "username" "$user" "$reUser" || exit 1
pass="${args[1]}"; validateArg "password" "$pass" "$rePass" || exit 1 pass="${args[1]}"; validateArg "password" "$pass" "$rePass" || exit 1