From ffb2802448ce2074a0264578ae40c9141641c1d9 Mon Sep 17 00:00:00 2001 From: Jeremy Combs Date: Wed, 28 Dec 2022 09:47:56 -0500 Subject: [PATCH] Fix command causing unit tests to fail --- files/create-sftp-user | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/create-sftp-user b/files/create-sftp-user index 53ad403..47b362d 100755 --- a/files/create-sftp-user +++ b/files/create-sftp-user @@ -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