void-packages/srcpkgs/dracut/patches/fix-fsck.patch

28 lines
838 B
Diff

https://github.com/dracutdevs/dracut/pull/2262
From 26990cb90bf0f516ccbd56583000d6d02ab18acd Mon Sep 17 00:00:00 2001
From: Laszlo Gombos <laszlo.gombos@gmail.com>
Date: Sat, 4 Mar 2023 23:28:17 +0000
Subject: [PATCH] fix(fs-lib): remove quoting form the first argument of the
e2fsck call
Fix regression.
---
modules.d/99fs-lib/fs-lib.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules.d/99fs-lib/fs-lib.sh b/modules.d/99fs-lib/fs-lib.sh
index dd20731f2..c4640fa8a 100755
--- a/modules.d/99fs-lib/fs-lib.sh
+++ b/modules.d/99fs-lib/fs-lib.sh
@@ -107,7 +107,8 @@ fsck_drv_com() {
info "issuing $_drv $_fop $_dev"
# we enforce non-interactive run, so $() is fine
- _out=$($_drv "$_fop" "$_dev")
+ # shellcheck disable=SC2086
+ _out=$($_drv $_fop "$_dev")
_ret=$?
fsck_tail