Umap are not fully loaded when captured... Could do better

This commit is contained in:
fred 2023-09-02 00:43:20 +02:00
parent 1e12d683d2
commit 66e766563f
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@ PLAYER=${THAT}
[[ ${AND} == "lat" ]] && SALT=${THIS} || SALT=${AND}
[[ ${SALT} == "0" ]] && SALT="0.00"
input_number=${SALT}
if [[ ! $input_number =~ ^[0-9]{1,3}\.[0-9]*$ ]]; then
(echo "$HTTPCORS ERROR - BAD LAT $LAT" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && echo "(☓‿‿☓) Execution time was "`expr $(date +%s) - $start` seconds. && exit 0
@ -57,6 +58,7 @@ fi
[[ ${APPNAME} == "lon" ]] && PEPPER=${WHAT} || PEPPER=${APPNAME}
[[ ${PEPPER} == "0" ]] && PEPPER="0.00"
input_number=${PEPPER}
if [[ ! $input_number =~ ^[0-9]{1,3}\.[0-9]*$ ]]; then
(echo "$HTTPCORS ERROR - BAD LON $LON" | nc -l -p ${PORT} -q 1 > /dev/null 2>&1 &) && echo "(☓‿‿☓) Execution time was "`expr $(date +%s) - $start` seconds. && exit 0