diff --git a/setup.sh b/setup.sh index 1eeeb5c..5f9e530 100644 --- a/setup.sh +++ b/setup.sh @@ -72,7 +72,7 @@ function we_have_exactly_one_part () { if [[ "$(wc -c <<<"${parts_list}")" -gt '1' ]]; then case "${parts_count}" in 0) - printf -- '%s\n' 'No '"${parttype}"' partition found. Exiting 1 ...' + printf -- '%s\n' 'No '"${parttype^^}"' partition found. Exiting 1 ...' exit 1 ;; 1)