[eos-bash-shared] show-location-info: fixed case with no connection

This commit is contained in:
manuel
2025-06-28 20:03:23 +03:00
parent a1354f6a23
commit 087a8a5bc9
+2 -1
View File
@@ -120,7 +120,8 @@ Main() {
# get and show the wanted location info
local output="$(LANG=C curl --fail -Lsm $timeout $url/$item)"
local output=""
output="$(LANG=C curl --fail -Lsm $timeout $url/$item)"
if [ $? -eq 0 ] ; then
if [ "$tolower" = "yes" ] ; then