diff --git a/main.sh b/main.sh index 2175872..ee9ef9e 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"|awk '{print $1}'|tr '\n' ' ')" + multiplechoice "$(echo "$DISKS_DETAILS"|awk '{print $1}')" TARGET_PHY_DISK="/dev/${output}" }