Change random to print the result
This commit is contained in:
parent
88b4022ee0
commit
32b421be82
1 changed files with 1 additions and 1 deletions
2
rowbot
2
rowbot
|
@ -79,7 +79,7 @@ is_running () {
|
||||||
|
|
||||||
random() {
|
random() {
|
||||||
local min=$1 max=$2
|
local min=$1 max=$2
|
||||||
(( (RANDOM % max) + min ))
|
printf %d "$(( (RANDOM % max) + min ))"
|
||||||
}
|
}
|
||||||
|
|
||||||
run_callbacks() {
|
run_callbacks() {
|
||||||
|
|
Loading…
Reference in a new issue