From e5105d18b7c163db3764c9e161259a1aedae43d3 Mon Sep 17 00:00:00 2001 From: teldra Date: Mon, 7 Feb 2022 04:29:43 +0100 Subject: [PATCH] progress --- main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 0997365..de7d84b 100644 --- a/main.sh +++ b/main.sh @@ -20,7 +20,7 @@ target_phy_disk() { local output DISKS_DETAILS=$(lsblk -l -o KNAME,TYPE,SIZE,MODEL,WWN|grep disk) echo "$DISKS_DETAILS" - multiplechoice "$(echo "${DISKS_DETAILS//\n/}"|awk '{print $1}')" + multiplechoice $(echo "${DISKS_DETAILS}"|awk '{print $1}') TARGET_PHY_DISK="/dev/${output}" }