Skip to content

Commit

Permalink
Merge pull request #3922 from MilhouseVH/le92_fix_init_busy_cond
Browse files Browse the repository at this point in the history
init: make umount /update conditional [libreelec-9.2]
  • Loading branch information
CvH authored Oct 18, 2019
2 parents a00b801 + e2e05ad commit c97f38e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/sysutils/busybox/scripts/init
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c97f38e

Please sign in to comment.