Use dollar notation instead of legacy backticked

This commit is contained in:
Badlop 2021-12-23 11:16:06 +01:00
parent cde089ce9c
commit d8be168cff
1 changed files with 1 additions and 1 deletions

View File

@ -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%% *}