mirror of
https://github.com/MinecraftServerControl/mscs.git
synced 2024-11-15 14:58:18 -07:00
Add an error message to the queryStart method
This commit is contained in:
parent
eac9ace540
commit
dfcdb46ff9
@ -1145,6 +1145,11 @@ queryStart() {
|
||||
$SOCAT - UDP:127.0.0.1:$(getPropertiesValue $1 'server-port') > \
|
||||
$WORLD_DIR/query.out
|
||||
" $USER_NAME
|
||||
# Verify the connection to the query server worked.
|
||||
if [ $? -ne 0 ]; then
|
||||
printf "Error connecting to the query server.\n"
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user