refactor(iso): No need to hard-fail when more than one of a partition type exists, we ask for a choice instead (#1)

This commit is contained in:
hygienic-books 2023-02-21 02:58:02 +01:00
parent b12c35ed07
commit 49fe3deced

View File

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