usr_bin/grml-exec-wrapper: Fix a couple of shellcheck warnings
authorDarshaka Pathirana <dpat@syn-net.org>
Fri, 4 Dec 2020 10:00:08 +0000 (11:00 +0100)
committerDarshaka Pathirana <dpat@syn-net.org>
Fri, 3 Dec 2021 11:54:54 +0000 (12:54 +0100)
commitcf233a10facfa3c4b78b2c01edb51449d73c4a1c
treea2fe09d6fe5f96a414cca1469c0ff4734573dc29
parentcb8ed979c962c8f81b6ffe4334ae792aad256423
usr_bin/grml-exec-wrapper: Fix a couple of shellcheck warnings

- SC2059: Don't use variables in the printf format string.
- SC2086: Double quote to prevent globbing and word splitting.
- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.

Please note that SC2059 causes SC1117 (Backslash is literal in "\n".
Prefer explicit escaping: "\\n") in shellcheck 0.5.0 an below.

This check was retired due to noise in koalaman/shellcheck@d8a32da07.
usr_bin/grml-exec-wrapper