This commit is contained in:
teldra 2022-02-07 04:27:26 +01:00
parent ae073961a3
commit b3fe56f53d
1 changed files with 1 additions and 1 deletions

View File

@ -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}"
}