]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix: shellcheck for modules.d/45url-lib/url-lib.sh
authorHarald Hoyer <harald@redhat.com>
Fri, 12 Feb 2021 12:26:11 +0000 (13:26 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 15 Feb 2021 10:00:37 +0000 (11:00 +0100)
modules.d/45url-lib/url-lib.sh

index 08c3ebb44d8d07050cab9580f18cd1f5c95f5cec..8b3b91a5aa293d30050b4f0055b525427ec4c973 100755 (executable)
@@ -46,7 +46,7 @@ add_url_handler() {
         [ "$(get_url_handler $scheme)" = "$handler" ] && continue
         set -- "$@" "$scheme:$handler"
     done
-    set -- $@ $url_handler_map # add new items to *front* of list
+    set -- "$@" $url_handler_map # add new items to *front* of list
     url_handler_map="$@"
 }