mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
start adding SWAP file support
This commit is contained in:
parent
0a977e4348
commit
a20d749f22
1 changed files with 2 additions and 1 deletions
|
@ -460,7 +460,8 @@ _mkfs() {
|
|||
return 1
|
||||
fi
|
||||
fi
|
||||
if ! swapon "${1}" &>"${_LOG}"; then
|
||||
swapon "${1}" &>"${_LOG}"
|
||||
if [[ $? != 0 ]]; then
|
||||
_dialog --title " ERROR " --no-mouse --infobox "Activating swap: swapon ${1}" 0 0
|
||||
sleep 5
|
||||
return 1
|
||||
|
|
Loading…
Reference in a new issue