Skip to content

silence incorrect shellcheck SC2329

shellcheck 0.11.0 complains:

In hooks/fsck line 57:
			fstype() { "/usr/lib/klibc/bin/fstype" "$@"; }
                        ^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly).

In ./mkinitramfs line 288:
clean_on_exit() {
^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly).

In debian/tests/unmkinitramfs line 44:
no_compressor() {
^-- SC2329 (info): This function is never invoked. Check usage (or ignored if invoked indirectly).


In debian/initramfs-tools.postinst line 6:
if [ "x$1" != xtriggered ]; then
     ^---^ SC2268 (style): Avoid x-prefix in comparisons as it no longer serves a purpose.

Did you mean:
if [ "$1" != triggered ]; then

Merge request reports

Loading