Browse Source

Update v-delete-sys-api-ip (#3994)

Fixed array
sahsanu 2 years ago
parent
commit
61110dd8cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/v-delete-sys-api-ip

+ 1 - 1
bin/v-delete-sys-api-ip

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