Merge pull request #3922 from MilhouseVH/le92_fix_init_busy_cond

init: make umount /update conditional [libreelec-9.2]
This commit is contained in:
CvH 2019-10-18 17:52:20 +02:00 committed by GitHub
commit c97f38e942
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -677,7 +677,9 @@ check_out_of_space() {
do_cleanup() {
StartProgress spinner "Cleaning up... "
umount /update 2>/dev/null
if mountpoint -q /update; then
umount /update
fi
if [ -d $UPDATE_ROOT/.tmp/mnt ]; then
if mountpoint -q $UPDATE_ROOT/.tmp/mnt ; then