Skip to content

Commit

Permalink
Fix command causing unit tests to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcombs committed Dec 28, 2022
1 parent ffeb104 commit ffb2802
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/create-sftp-user
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ IFS=':' read -ra args <<< "$1"

skipIndex=0
chpasswdOptions=""
useraddOptions=(--no-user-group --badnames)
useraddOptions=(--no-user-group --badname)

user="${args[0]}"; validateArg "username" "$user" "$reUser" || exit 1
pass="${args[1]}"; validateArg "password" "$pass" "$rePass" || exit 1
Expand Down

0 comments on commit ffb2802

Please sign in to comment.