aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-12-23 11:16:06 +0100
committerBadlop <badlop@process-one.net>2021-12-23 13:57:08 +0100
commitd8be168cff8c5d447027ffbde36075c6c7a864f5 (patch)
tree56ec6884e7820343dc0870f98f15f132a16faf5a /tools
parentDisable some shellcheck warnings (diff)
Use dollar notation instead of legacy backticked
Diffstat (limited to 'tools')
-rwxr-xr-xtools/captcha.sh2
1 files changed, 1 insertions, 1 deletions
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%% *}