From d8be168cff8c5d447027ffbde36075c6c7a864f5 Mon Sep 17 00:00:00 2001 From: Badlop Date: Thu, 23 Dec 2021 11:16:06 +0100 Subject: [PATCH] Use dollar notation instead of legacy backticked --- tools/captcha.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/captcha.sh b/tools/captcha.sh index 9fa4a52c4..59df7fcc6 100755 --- a/tools/captcha.sh +++ b/tools/captcha.sh @@ -21,7 +21,7 @@ if test -n ${BASH_VERSION:-''} ; then R=$RANDOM } else - for n in `od -A n -t u2 -N 48 /dev/urandom`; do RL="$RL$n "; done + for n in $(od -A n -t u2 -N 48 /dev/urandom); do RL="$RL$n "; done get_random () { R=${RL%% *}