mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zdev/dracut/zdev-lib.sh: add ShellCheck shell directive
Add a ShellCheck [1] directive before the first command in the file to tell ShellCheck and the reader which shell to use. See https://www.shellcheck.net/wiki/SC2148 for details. [1] https://www.shellcheck.net/ Reviewed-by: Steffen Maier <maier@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
a500946e50
commit
a2baeb2fe2
@@ -8,6 +8,7 @@
|
||||
# 95zdev/zdev-lib.sh
|
||||
# Common shell library functionality for 95zdev and 95zdev-kdump.
|
||||
#
|
||||
# shellcheck shell=bash
|
||||
|
||||
is_kdump() {
|
||||
# https://src.fedoraproject.org/rpms/kexec-tools/c/4eedcae5e1540690a3761857fe2e692774c44960
|
||||
|
||||
Reference in New Issue
Block a user