From ea50e83b330a8b36ed687e8fb9310014fa4d62c6 Mon Sep 17 00:00:00 2001 From: Limezy Date: Mon, 18 Apr 2022 16:17:51 +0700 Subject: [PATCH] Linter error fix --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 28612a7..6507881 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -14,7 +14,7 @@ NODEJS_VERSION=14 #================================================= ynh_hex_32_random() { - echo "$(openssl rand -hex 32)" + echo "$(tr -dc 'A-F0-9' < /dev/urandom | head -c64)" } #=================================================