usr_bin/grml-lock: Fix a couple of shellcheck warnings
authorDarshaka Pathirana <dpat@syn-net.org>
Fri, 4 Dec 2020 11:03:40 +0000 (12:03 +0100)
committerDarshaka Pathirana <dpat@syn-net.org>
Fri, 3 Dec 2021 11:54:54 +0000 (12:54 +0100)
commite8b2d94100ec2a5fc5612bc63dc461b74061520b
treee289124e447ea1f149580d6aceea4ef3cbbacc6d
parentc6fa5b9b1a99cfd42fd9aa2c2ce465321f7845af
usr_bin/grml-lock: Fix a couple of shellcheck warnings

- SC2086: Double quote to prevent globbing and word splitting.
- Ignore SC1091
- SC2230: which is non-standard. Use builtin 'command -v' instead
- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?
usr_bin/grml-lock