Skip to content

Commit 61110dd

Browse files
authored
Update v-delete-sys-api-ip (hestiacp#3994)
Fixed array
1 parent ff5c772 commit 61110dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-delete-sys-api-ip

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ check_hestia_demo_mode
3636

3737
new_list=''
3838
set -f # avoid globbing (expansion of *).
39-
array=("${API_ALLOWED_IP//,/ }")
39+
array=(${API_ALLOWED_IP//,/ })
4040
for i in "${!array[@]}"; do
4141
if [ "${array[i]}" != "$ip46" ]; then
4242
if [ "$new_list" = '' ]; then

0 commit comments

Comments
 (0)