fix(quickget): resolve shellcheck SC2004 notice

https://www.shellcheck.net/wiki/SC2004
This commit is contained in:
Martin Wimpress 2024-05-07 13:53:53 +01:00 committed by Martin Wimpress
parent 3832fe731c
commit d46482abf9
1 changed files with 1 additions and 1 deletions

View File

@ -2018,7 +2018,7 @@ function generate_id() {
local macRecoveryID=""
local TYPE="${1}"
local valid_chars=("0" "1" "2" "3" "4" "5" "6" "7" "8" "9" "A" "B" "C" "D" "E" "F")
for ((i=0; i<$TYPE; i++)); do
for ((i=0; i<TYPE; i++)); do
macRecoveryID+="${valid_chars[$((RANDOM % 16))]}"
done
echo "${macRecoveryID}"