mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
API not responding is not a fatal error for connection
This commit is contained in:
parent
fdd81a9532
commit
8927d6d2fe
1 changed files with 2 additions and 2 deletions
|
@ -392,7 +392,7 @@ while true; do
|
|||
config_load openmptcprouter
|
||||
config_foreach _httping_server server $OMR_TRACKER_DEVICE_IP
|
||||
if [ "$serverip_ping" = false ]; then
|
||||
OMR_TRACKER_STATUS="ERROR"
|
||||
#OMR_TRACKER_STATUS="ERROR"
|
||||
OMR_TRACKER_STATUS_MSG="No access to server API"
|
||||
else
|
||||
OMR_TRACKER_STATUS_MSG=""
|
||||
|
@ -493,7 +493,7 @@ while true; do
|
|||
config_foreach _httping_server server $OMR_TRACKER_DEVICE_IP
|
||||
if [ "$serverip_ping" = false ]; then
|
||||
OMR_TRACKER_STATUS_MSG="No access to server API"
|
||||
OMR_TRACKER_STATUS="ERROR"
|
||||
#OMR_TRACKER_STATUS="ERROR"
|
||||
else
|
||||
OMR_TRACKER_STATUS_MSG=""
|
||||
OMR_TRACKER_STATUS="OK"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue