]> git.ipfire.org Git - thirdparty/dracut-ng.git/commitdiff
perf(dracut): remove duplicate export libdirs
authorBenjamin Drung <benjamin.drung@canonical.com>
Mon, 26 Jan 2026 16:54:15 +0000 (17:54 +0100)
committerLaszlo <laszlo.gombos@gmail.com>
Wed, 28 Jan 2026 16:49:02 +0000 (11:49 -0500)
The variable `libdirs` is exported later on in the `dracut.sh` code
together with all the other variables.

dracut.sh

index 94a9c196025b6fdb03754e9efb444687598836e3..aaa1d24b1abeb42f970d8b34e2e105d8c6415a5c 100755 (executable)
--- a/dracut.sh
+++ b/dracut.sh
@@ -1498,7 +1498,6 @@ _detect_library_directories() {
 # Detect lib paths
 if ! [[ ${libdirs-} ]]; then
     libdirs=$(_detect_library_directories)
-    export libdirs
 fi
 
 dracut_module_included() {