diff --git a/entrypoint.sh b/entrypoint.sh index 0341784..a024895 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -69,7 +69,7 @@ else usermod -aG bastionuser "$user" fi - if [ "$password" -ne "0" ]; then + if [ "$password" != "0" ]; then echo "$user:$password" | chpasswd fi