Add ShellCheck's --enable=all inside etc/

Strengthen static code analysis for shell scripts.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Closes #12913
This commit is contained in:
Damian Szuberski
2022-01-06 23:36:04 +01:00
committed by GitHub
parent ccc421ec39
commit ae66d3aa90
11 changed files with 20 additions and 9 deletions
+2 -1
View File
@@ -5,4 +5,5 @@ initconf_SCRIPTS = zfs
SUBSTFILES += $(initconf_SCRIPTS)
SHELLCHECK_SHELL = sh
SHELLCHECK_SHELL = dash
SHELLCHECK_OPTS = --enable=all
+1
View File
@@ -1,4 +1,5 @@
# OpenZFS userland configuration.
# shellcheck disable=SC2154
# NOTE: This file is intended for sysv init and initramfs.
# Changing some of these settings may not make any difference on