fix(quickget): make show_os_info() shellcheck compliant

https://www.shellcheck.net/wiki/SC2086
This commit is contained in:
Martin Wimpress 2024-05-07 11:19:36 +01:00 committed by Martin Wimpress
parent 77fe26975d
commit e52ba1fc60
1 changed files with 1 additions and 1 deletions

View File

@ -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