Turn of globbing when matching backlist entries.
[openresolv] / resolvconf.in
index dba656cb5d21c21638cb5a7d35714f7719d2a522..533231a5800412da649d83cd73b6a0ca16b86f7c 100644 (file)
@@ -297,6 +297,7 @@ list_remove() {
        eval list=\"\$$1\"
        shift
 
+       set -f
        for e; do
                found=false
                for l in $list; do
@@ -311,6 +312,7 @@ list_remove() {
                        result="$result $e"
                fi
        done
+       set +f
        echo "${result# *}"
        return $retval
 }