Add an error message to the queryStart method

This commit is contained in:
Jason M. Wood 2014-01-28 10:02:42 -07:00
parent eac9ace540
commit dfcdb46ff9

View File

@ -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
}
# ---------------------------------------------------------------------------