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:
parent
b12c35ed07
commit
49fe3deced
3
setup.sh
3
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 ...'
|
||||
|
Loading…
x
Reference in New Issue
Block a user