Updater: push-update: unroot on exit if zip exists

Change-Id: I10ccb345d02830337bc8aefa4f3d41e80e42d064
This commit is contained in:
Timi
2024-12-17 18:19:02 +00:00
committed by Łukasz Patron
parent ed36157049
commit 1d33cc3135
+1
View File
@@ -24,6 +24,7 @@ fi
zip_path_device=$updates_dir/`basename "$zip_path"`
if adb shell test -f "$zip_path_device"; then
echo "$zip_path_device exists already"
adb unroot
exit 1
fi