From 6ba0edae230caf5c2de98760df03ee3ed769f848 Mon Sep 17 00:00:00 2001 From: Hollin Wilkins Date: Wed, 27 Dec 2017 00:33:10 -0800 Subject: [PATCH] Make sure to reset chpasswdOptions. --- entrypoint | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint b/entrypoint index 62b58df..7e904e0 100755 --- a/entrypoint +++ b/entrypoint @@ -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