Просмотр исходного кода

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

Fixed array
sahsanu 2 лет назад
Родитель
Сommit
d67d94a423
1 измененных файлов с 1 добавлено и 1 удалено
  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