xbps-src: always try to unmount via xbps-src-chroot-helper before exiting.
This commit is contained in:
@@ -98,8 +98,9 @@ umount_chroot_fs()
|
||||
done
|
||||
|
||||
# Remove created dirs
|
||||
[ -f ${XBPS_MASTERDIR}/.xbps_mount_bind_done ] && continue
|
||||
[ -d ${XBPS_MASTERDIR}/xbps ] && rmdir ${XBPS_MASTERDIR}/xbps
|
||||
if [ ! -f ${XBPS_MASTERDIR}/.xbps_mount_bind_done ]; then
|
||||
[ -d ${XBPS_MASTERDIR}/xbps ] && rmdir ${XBPS_MASTERDIR}/xbps
|
||||
fi
|
||||
}
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
|
Reference in New Issue
Block a user