From e52ba1fc6033e23b79032771be0d2b40437e01f5 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Tue, 7 May 2024 11:19:36 +0100 Subject: [PATCH] fix(quickget): make show_os_info() shellcheck compliant https://www.shellcheck.net/wiki/SC2086 --- quickget | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickget b/quickget index 3806e54..c2c8fa8 100755 --- a/quickget +++ b/quickget @@ -124,7 +124,7 @@ function os_info() { function show_os_info() { while getopts ":12345" opt; do case $opt in - 1|2|3|4|5) os_info "${2}" | cut -d'|' -f${opt};; + 1|2|3|4|5) os_info "${2}" | cut -d'|' -f "${opt}";; *) error_not_supported_argument;; esac done