diff --git a/pkg/de-p1st-installer/lib/block-device.sh b/pkg/de-p1st-installer/lib/block-device.sh index d3bff20..c72f7fa 100644 --- a/pkg/de-p1st-installer/lib/block-device.sh +++ b/pkg/de-p1st-installer/lib/block-device.sh @@ -15,7 +15,8 @@ function get_partitions(){ # Remove first line of output (which is just the block device $1 itself) # with sed: sed 1d PARTITIONS="$(lsblk -pln -o name "$1" | sed 1d)" || return $? - newline_separated_to_array + + newline_separated_to_array PARTITIONS PARTITIONS || return $? } function get_block_devices() {