update dependencies

This commit is contained in:
mhsanaei
2024-07-27 14:56:37 +02:00
parent a37b1bde4c
commit 8408a45eff
4 changed files with 21 additions and 21 deletions

View File

@@ -254,7 +254,7 @@ reset_user() {
gen_random_string() {
local length="$1"
local random_string=$(LC_ALL=C tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w "$length" | head -n 1)
local random_string=$(LC_ALL=C tr -dc 'a-zA-Z0-9' </dev/urandom | fold -w "$length" | head -n 1)
echo "$random_string"
}