diff options
author | osm0sis <osm0sis@outlook.com> | 2018-02-25 13:51:07 -0400 |
---|---|---|
committer | osm0sis <osm0sis@outlook.com> | 2018-02-25 13:54:45 -0400 |
commit | 7b09dd8b664cdd5615ffa2241a5ff18620200560 (patch) | |
tree | 442dcdf9734baf4744039232783829df47544c3d /META-INF | |
parent | e32f6915ef8f5b9d32d8d0b652f220579dd43578 (diff) |
Backend: fix vendor unmounting
Diffstat (limited to 'META-INF')
-rwxr-xr-x | META-INF/com/google/android/update-binary | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary index 765d5e1..44a99f9 100755 --- a/META-INF/com/google/android/update-binary +++ b/META-INF/com/google/android/update-binary @@ -38,6 +38,7 @@ abort() { cleanup; fi; umount /system; + umount /vendor 2>/dev/null; umount /data 2>/dev/null; exit 1; } @@ -60,6 +61,7 @@ ui_print " "; ui_print "AnyKernel2 by osm0sis @ xda-developers"; ui_print " "; umount /system 2>/dev/null; +umount /vendor 2>/dev/null; mount -o ro -t auto /system; mount -o ro -t auto /vendor 2>/dev/null; mount /data 2>/dev/null; @@ -124,6 +126,7 @@ if [ "$(file_getprop /tmp/anykernel/anykernel.sh do.cleanup)" == 1 ]; then fi; umount /system; +umount /vendor 2>/dev/null; umount /data 2>/dev/null; ui_print " "; ui_print "Done!"; |