From 31eb6c586296b15bd49b81b4286620cdf933d0d6 Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Thu, 24 Aug 2023 20:28:59 +0200 Subject: [PATCH] Fix password function --- src/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.sh b/src/functions.sh index 5798afd..50356f1 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -5,5 +5,5 @@ LXC_RANDOMPWD=32 random_password() { set +o pipefail - C_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom 2>/dev/null | head -c${LXC_RANDOMPWD} + LC_CTYPE=C tr -dc 'a-zA-Z0-9' < /dev/urandom 2>/dev/null | head -c${LXC_RANDOMPWD} } \ No newline at end of file