hooks/*: code cleanup
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# vim: set ft=sh:
|
||||
# shellcheck shell=sh
|
||||
#
|
||||
# false positive
|
||||
# https://www.shellcheck.net/wiki/SC2154
|
||||
# shellcheck disable=2154
|
||||
|
||||
[ "$hostonly" = 1 ] &&
|
||||
|
@@ -1,11 +1,9 @@
|
||||
# vim: set ft=sh:
|
||||
# shellcheck shell=sh
|
||||
#
|
||||
# false positive
|
||||
# shellcheck disable=2154
|
||||
#
|
||||
# word splitting is safe by design
|
||||
# shellcheck disable=2068
|
||||
# https://www.shellcheck.net/wiki/SC2154
|
||||
# https://www.shellcheck.net/wiki/SC2068
|
||||
# shellcheck disable=2154,2068
|
||||
|
||||
[ "$break" = lvm ] && { print "break before lvm.init"; sh; }
|
||||
|
||||
|
Reference in New Issue
Block a user