mirror of
https://gitlab.manjaro.org/applications/manjaro-architect
synced 2024-11-08 01:10:26 +00:00
try to fix umount_partitions
This commit is contained in:
parent
3c8e63d982
commit
a28ecd1dd6
@ -4,10 +4,12 @@ umount_partitions() {
|
||||
MOUNTED=$(mount | grep "${MOUNTPOINT}" | awk '{print $3}' | sort -r)
|
||||
swapoff -a
|
||||
|
||||
# for i in ${MOUNTED[@]}; do
|
||||
for i in ${MOUNTED[@]}; do
|
||||
umount $i >/dev/null 2>$ERR
|
||||
check_for_error $FUNCNAME $?
|
||||
# local err=$(umount $i >/dev/null 2>$ERR)
|
||||
# (( err !=0 )) && check_for_error "$FUNCNAME $i" $err
|
||||
# done
|
||||
done
|
||||
}
|
||||
|
||||
# This function does not assume that the formatted device is the Root installation device as
|
||||
|
Loading…
Reference in New Issue
Block a user