mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Fix bashism in 'ejabberdctl started'
This commit is contained in:
parent
071aa123e8
commit
b17c7848fd
@ -266,7 +266,7 @@ wait_for_status()
|
|||||||
status=4
|
status=4
|
||||||
while [ $status -ne $1 ]; do
|
while [ $status -ne $1 ]; do
|
||||||
sleep $3
|
sleep $3
|
||||||
let timeout=timeout-1
|
timeout=$(($timeout - 1))
|
||||||
[ $timeout -eq 0 ] && {
|
[ $timeout -eq 0 ] && {
|
||||||
status=$1
|
status=$1
|
||||||
} || {
|
} || {
|
||||||
|
Loading…
Reference in New Issue
Block a user