mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-22 22:45:21 +01:00
Try alternative syntax to make codacy happy
The codacy issue "$/${} is unnecessary on arithmetic variables" seems to not apply to $(echo $((1 + $RANDOM % 10))), but we try another syntax to make her happy.
This commit is contained in:
parent
27a4a31dcc
commit
d580e77bf8
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ while : ; do
|
|||
printbreak
|
||||
sleeptraced 3
|
||||
|
||||
RANDOM_WAIT=$(echo $((1 + $RANDOM % 10)))
|
||||
RANDOM_WAIT=$(echo $[$RANDOM % 10 + 1])
|
||||
printdate "Bob will take Alice's offer in $RANDOM_WAIT seconds..."
|
||||
sleeptraced "$RANDOM_WAIT"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue