mirror of
https://github.com/AuxXxilium/arc.git
synced 2024-11-23 23:39:54 +07:00
arc: fix syntax
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
parent
48169de420
commit
bd75ecab30
@ -1734,8 +1734,7 @@ function cloneLoader() {
|
||||
[[ "${KNAME}" = "${LOADER_DISK}" || "${PKNAME}" = "${LOADER_DISK}" ]] && continue
|
||||
[ -z "${SIZE}" ] && SIZE="Unknown"
|
||||
printf "\"%s\" \"%-6s %-4s\" \"off\"\n" "${KNAME}" "${SIZE}" "${TYPE}" >>"${TMP_PATH}/opts"
|
||||
done < <(lsblk -pno KNAME,SIZE,TYPE,PKNAME)
|
||||
done < <(lsblk -dpno KNAME,MODEL,PKNAME,TYPE | sort)
|
||||
done < <(lsblk -dpno KNAME,SIZE,TYPE,PKNAME | sort)
|
||||
if [ ! -f "${TMP_PATH}/opts" ]; then
|
||||
dialog --backtitle "$(backtitle)" --colors --title "Clone Loader" \
|
||||
--msgbox "No disk found!" 0 0
|
||||
|
Loading…
Reference in New Issue
Block a user