From 0f26bfbe6906713746f2378e670b4ee19ae946a3 Mon Sep 17 00:00:00 2001 From: langfingaz Date: Sat, 1 May 2021 13:47:15 +0200 Subject: [PATCH] fix3 --- pkg/de-p1st-installer/lib/block-device.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() {