diff options
author | Leo Pham <wsrgs@proton.me> | 2023-07-09 17:24:22 +1000 |
---|---|---|
committer | Leo Pham <wsrgs@proton.me> | 2023-07-09 17:24:22 +1000 |
commit | 5720e5ac6733f5751aa8ba79650655efbb2b4117 (patch) | |
tree | 7e48003e3bb938e8092843323b15523249527d74 | |
parent | 1cfb5deaf7924ad7427c040e00ae06ca43efca91 (diff) |
Support symlinks in cmdline.d too
-rwxr-xr-x | mkinitcpio | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -393,7 +393,7 @@ build_uki() { cmdline_files+=("/usr/lib/kernel/cmdline") fi if [[ -d '/etc/cmdline.d' ]]; then - mapfile -d '' -O "${#cmdline_files[@]}" cmdline_files < <(find "/etc/cmdline.d" -type f -name '*.conf' -print0 | sort -zVu) + mapfile -d '' -O "${#cmdline_files[@]}" cmdline_files < <(find "/etc/cmdline.d" -xtype f -name '*.conf' -print0 | sort -zVu) fi fi |