Shellcheck suggestions

This commit is contained in:
Kroese
2023-03-30 19:53:48 +02:00
parent dcc40d98df
commit cbb9203487
5 changed files with 8 additions and 7 deletions

View File

@@ -2,6 +2,6 @@
permanent="DSM"
serialstart="2000"
serialnum="$(echo "$serialstart" | tr ' ' '\n' | sort -R | tail -1)$permanent"$(printf "%06d" $(($RANDOM % 30000 + 1)))
serialnum="$(echo "$serialstart" | tr ' ' '\n' | sort -R | tail -1)$permanent"$(printf "%06d" $((RANDOM % 30000 + 1)))
echo $serialnum