25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

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

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