usr_sbin/grml-chroot: Fix a couple of shellcheck warnings
authorDarshaka Pathirana <dpat@syn-net.org>
Fri, 5 Mar 2021 14:52:36 +0000 (15:52 +0100)
committerDarshaka Pathirana <dpat@syn-net.org>
Fri, 3 Dec 2021 11:54:54 +0000 (12:54 +0100)
commitb4a4893b0b69207eb9189a0be857a64173c09275
treebe8ac8512df9c3e5bd3a8e4496cb5fe30486ca01
parent3ace1004ef0f658043f2645c46818d92ad66c0dc
usr_sbin/grml-chroot: Fix a couple of shellcheck warnings

- SC2086: Double quote to prevent globbing and word splitting.
- SC2145: Argument mixes string and array. Use * or separate argument.
- SC2086: Double quote to prevent globbing and word splitting.
- SC2155: Declare and assign separately to avoid masking return values.
- SC2086: Double quote to prevent globbing and word splitting.
- SC2004: $/${} is unnecessary on arithmetic variables.
- SC2230: which is non-standard. Use builtin 'command -v' instead.
- SC2236: Use -n instead of ! -z.
usr_sbin/grml-chroot