|
|
@ -33,7 +33,7 @@ if [[ 10#$hour -eq 1 ]]; then |
|
|
|
# if no players are present, restart the server |
|
|
|
# should help deal with any memory leaks or other bugs |
|
|
|
players="" |
|
|
|
tries = 0 |
|
|
|
tries=0 |
|
|
|
while [[ -z $players ]]; do |
|
|
|
if [[ $tries -eq 10 ]]; then |
|
|
|
echo "Error: failed to get number of players present after 10 tries." |
|
|
|