]> git.ipfire.org Git - people/stevee/network.git/blobdiff - src/functions/functions.distro
network fix parameter passing when using ""
[people/stevee/network.git] / src / functions / functions.distro
index 4dc831b88f1a1bc49781823aa8ca1b139e0920cf..6978233f07902bfd71753b42a8f2a30569923521 100644 (file)
@@ -26,8 +26,8 @@ __os_release() {
 
        local line k v
        while read line; do
-               k=$(cli_get_key ${line})
-               v=$(cli_get_val ${line})
+               k=$(cli_get_key "${line}")
+               v=$(cli_get_val "${line}")
 
                if [ "${what}" = "${k}" ]; then
                        echo "${v//\"/}"