Updater: push-update: unroot on exit if zip exists
Change-Id: I10ccb345d02830337bc8aefa4f3d41e80e42d064
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user