From 977927fbe21dd8fc444d9e46f30321be16c8443c Mon Sep 17 00:00:00 2001 From: Siphonight Date: Sat, 15 Jun 2024 11:55:36 +0200 Subject: [PATCH] Correction erreur sur la fonction mdp --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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