From: Benjamin Drung Date: Sat, 24 Jan 2026 15:30:34 +0000 (+0100) Subject: refactor(dracut): rename help_output to threecpio_help_output X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42f696064e37e67344e9fe537c949c82267b614e;p=thirdparty%2Fdracut-ng.git refactor(dracut): rename help_output to threecpio_help_output --- diff --git a/dracut.sh b/dracut.sh index 4fc4783b0..8c5fa87df 100755 --- a/dracut.sh +++ b/dracut.sh @@ -2077,8 +2077,8 @@ fi CPIO=cpio if command -v 3cpio > /dev/null; then - if help_output=$(3cpio --help); then - if echo "$help_output" | grep -q -- --create; then + if threecpio_help_output=$(3cpio --help); then + if echo "$threecpio_help_output" | grep -q -- --create; then CPIO=3cpio else dinfo "3cpio does not support --create. Falling back to cpio." diff --git a/lsinitrd.sh b/lsinitrd.sh index 32ee28dd4..4a26bd4af 100755 --- a/lsinitrd.sh +++ b/lsinitrd.sh @@ -98,8 +98,8 @@ done CPIO=cpio if command -v 3cpio > /dev/null; then - if help_output=$(3cpio --help); then - if echo "$help_output" | grep -q -- --make-directories; then + if threecpio_help_output=$(3cpio --help); then + if echo "$threecpio_help_output" | grep -q -- --make-directories; then CPIO=3cpio fi elif command -v cpio > /dev/null; then