mirror of
https://github.com/eliasstepanik/ark-ac-server-tools.git
synced 2026-01-28 01:08:27 +00:00
Merge pull request #330 from klightspeed/1.5-dev#fixsyntax
Fix annoying syntax highlighting issue
This commit is contained in:
commit
753c523ff3
@ -491,7 +491,7 @@ function isTheServerOnline(){
|
|||||||
|
|
||||||
# If the Steam server response contains "addr": "$ip:$port",
|
# If the Steam server response contains "addr": "$ip:$port",
|
||||||
# then the server has registered with the Steam master server
|
# then the server has registered with the Steam master server
|
||||||
if [[ "$serverresp" =~ \"addr\":\ \"([^\"]*):([0-9]*)\" ]]; then
|
if [[ "$serverresp" =~ "\"addr\": \""([^\"]*):([0-9]*)"\"" ]]; then
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user