summaryrefslogtreecommitdiff
path: root/META-INF/com/google/android/update-binary
diff options
context:
space:
mode:
Diffstat (limited to 'META-INF/com/google/android/update-binary')
-rwxr-xr-xMETA-INF/com/google/android/update-binary2
1 files changed, 1 insertions, 1 deletions
diff --git a/META-INF/com/google/android/update-binary b/META-INF/com/google/android/update-binary
index 94f1510..f848ca4 100755
--- a/META-INF/com/google/android/update-binary
+++ b/META-INF/com/google/android/update-binary
@@ -168,7 +168,7 @@ if [ ! "$(getprop 2>/dev/null)" ]; then
local propdir propfile propval;
for propdir in / /system_root /system /vendor /odm /product; do
for propfile in default.prop build.prop; do
- test "$propval" || propval="$(file_getprop $propdir/$propfile $1 2>/dev/null)";
+ test "$propval" && break 2 || propval="$(file_getprop $propdir/$propfile $1 2>/dev/null)";
done;
done;
test "$propval" && echo "$propval" || echo "";