mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
redirect output to _LOG
This commit is contained in:
parent
fd994547d8
commit
1e6e72f0bb
1 changed files with 1 additions and 1 deletions
|
@ -146,7 +146,7 @@ _partition() {
|
|||
_dialog --defaultno --yesno "Setup detected no MS-DOS partition table on ${_DISK}.\nDo you want to create a MS-DOS partition table now on ${_DISK}?\n\n${_DISK} will be COMPLETELY ERASED! Are you absolutely sure?" 0 0 || return 1
|
||||
# clean partitiontable to avoid issues!
|
||||
dd if=/dev/zero of="${_DEVICE}" bs=512 count=2048 >"${_NO_LOG}"
|
||||
wipefs -a "${_DEVICE}" /dev/null 2>&1
|
||||
wipefs -a "${_DEVICE}" >"${_LOG}"
|
||||
parted -a optimal -s "${_DISK}" mktable msdos >"${_LOG}"
|
||||
fi
|
||||
# Partition disc
|
||||
|
|
Loading…
Reference in a new issue