|
|
@@ -36,7 +36,7 @@ check_hestia_demo_mode
|
|
|
|
|
|
new_list=''
|
|
|
set -f # avoid globbing (expansion of *).
|
|
|
-array=("${API_ALLOWED_IP//,/ }")
|
|
|
+array=(${API_ALLOWED_IP//,/ })
|
|
|
for i in "${!array[@]}"; do
|
|
|
if [ "${array[i]}" != "$ip46" ]; then
|
|
|
if [ "$new_list" = '' ]; then
|