diff --git a/src/freedombone-freedns b/src/freedombone-freedns index 26265638..af720b80 100755 --- a/src/freedombone-freedns +++ b/src/freedombone-freedns @@ -47,7 +47,7 @@ function item_in_array { } detected_codes=() -codelines=$(grep "_CODE=" $CONFIGURATION_FILE | uniq) +codelines=($(grep "_CODE=" $CONFIGURATION_FILE | uniq)) for line in "${codelines[@]}" do code=$(echo "$line" | awk -F '=' '{print $2}')