diff options
author | Benjamin Drung <benjamin.drung@cloud.ionos.com> | 2018-12-10 16:52:36 +0100 |
---|---|---|
committer | Benjamin Drung <benjamin.drung@cloud.ionos.com> | 2018-12-18 13:37:07 +0100 |
commit | 2bab73b939f196c3dd86988d4d95f71152f18f4c (patch) | |
tree | 4690087bb4890184468274b520ef7007829882c8 /lsinitramfs | |
parent | f277309e0b6b57ff2f8f9411c026394b7635f3d6 (diff) |
Disable shellcheck for desired behaviour
Sometimes globbing and word splitting is wanted. Therefore explicitly
disable the check for these line.
Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
Diffstat (limited to 'lsinitramfs')
-rwxr-xr-x | lsinitramfs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lsinitramfs b/lsinitramfs index 4f91a6c..1235e4d 100755 --- a/lsinitramfs +++ b/lsinitramfs @@ -16,6 +16,7 @@ umi_opts="--list" OPTIONS=$(getopt -o hl --long help,long -n "$0" -- "$@") # Check for non-GNU getopt +# shellcheck disable=SC2181 if [ $? != 0 ] ; then echo "W: non-GNU getopt" >&2 ; exit 1 ; fi eval set -- "$OPTIONS" |