mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
init: make umount /update conditional
This commit is contained in:
parent
a00b801426
commit
e2e05ade82
@ -677,7 +677,9 @@ check_out_of_space() {
|
|||||||
do_cleanup() {
|
do_cleanup() {
|
||||||
StartProgress spinner "Cleaning up... "
|
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 [ -d $UPDATE_ROOT/.tmp/mnt ]; then
|
||||||
if mountpoint -q $UPDATE_ROOT/.tmp/mnt ; then
|
if mountpoint -q $UPDATE_ROOT/.tmp/mnt ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user