build: force umount, busy error doesn't mean much in disposable chroot

This commit is contained in:
Franco Fichtner 2019-06-19 08:46:29 +02:00
parent 5ecee3f3c1
commit 9f82a73dda
1 changed files with 1 additions and 1 deletions

View File

@ -1011,7 +1011,7 @@ ${PLUGINSDIR}
# might have been a chroot
for DIR in ${MOUNTDIRS}; do
if [ -d ${STAGE}${DIR} ]; then
umount ${STAGE}${DIR} 2> /dev/null || true
umount -f ${STAGE}${DIR} 2> /dev/null || true
fi
done