summaryrefslogtreecommitdiffstats
path: root/recovery_main.cpp
diff options
context:
space:
mode:
authorJerry Zhang <zhangjerry@google.com>2018-05-17 21:54:41 +0200
committerJerry Zhang <zhangjerry@google.com>2018-05-17 21:56:42 +0200
commit49fd5d262c6764b0a6746cfdb267e8bebec49256 (patch)
tree14fadf8929d56faab3e82f6c82f2702d3557ffc2 /recovery_main.cpp
parentMerge "updater_sample: add switch slot demo" (diff)
downloadandroid_bootable_recovery-49fd5d262c6764b0a6746cfdb267e8bebec49256.tar
android_bootable_recovery-49fd5d262c6764b0a6746cfdb267e8bebec49256.tar.gz
android_bootable_recovery-49fd5d262c6764b0a6746cfdb267e8bebec49256.tar.bz2
android_bootable_recovery-49fd5d262c6764b0a6746cfdb267e8bebec49256.tar.lz
android_bootable_recovery-49fd5d262c6764b0a6746cfdb267e8bebec49256.tar.xz
android_bootable_recovery-49fd5d262c6764b0a6746cfdb267e8bebec49256.tar.zst
android_bootable_recovery-49fd5d262c6764b0a6746cfdb267e8bebec49256.zip
Diffstat (limited to '')
-rw-r--r--recovery_main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/recovery_main.cpp b/recovery_main.cpp
index e21c782d0..5e82c6c1a 100644
--- a/recovery_main.cpp
+++ b/recovery_main.cpp
@@ -317,6 +317,7 @@ int main(int argc, char** argv) {
}
}
}
+ optind = 1;
if (locale.empty()) {
if (has_cache) {