mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
add sleep 2 to mkswap
This commit is contained in:
parent
460288569f
commit
9673135ff9
1 changed files with 1 additions and 0 deletions
|
@ -249,6 +249,7 @@ _mkfs() {
|
|||
swapoff -a &>"${_NO_LOG}"
|
||||
if [[ -n "${4}" ]]; then
|
||||
mkswap -L "${6}" "${1}" &>"${_LOG}"
|
||||
sleep 2
|
||||
#shellcheck disable=SC2181
|
||||
if [[ $? != 0 ]]; then
|
||||
_dialog --msgbox "Error creating swap: mkswap ${1}" 0 0
|
||||
|
|
Loading…
Reference in a new issue