diff --git a/setup.sh b/setup.sh index 5f9e530..d4cc67b 100644 --- a/setup.sh +++ b/setup.sh @@ -79,8 +79,7 @@ function we_have_exactly_one_part () { return 0 ;; *) - printf -- '%s\n' 'Multiple '"${parttype}"' partitions found. We expect exactly one. Cowardly exiting 1 ...' - exit 1 + return 1 ;; esac printf -- '%s\n' 'Partition list does not look valid. Cowardly exiting 1 ...'