From 1d33cc3135085bff8401f42eb945dab4c1a0e5c5 Mon Sep 17 00:00:00 2001 From: Timi Date: Thu, 12 Dec 2024 22:42:28 +0200 Subject: [PATCH] Updater: push-update: unroot on exit if zip exists Change-Id: I10ccb345d02830337bc8aefa4f3d41e80e42d064 --- push-update.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/push-update.sh b/push-update.sh index 8d4de88..7b3cd03 100755 --- a/push-update.sh +++ b/push-update.sh @@ -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