diff options
author | Jerry Zhang <zhangjerry@google.com> | 2018-05-17 23:48:15 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-05-17 23:48:15 +0200 |
commit | 901fb2c8113461fe1468bd79998c24f95b848f03 (patch) | |
tree | 28c8a0c6fda7a46acf1e39b25f58253843f71ee1 /recovery.cpp | |
parent | Merge "updater_sample: add switch slot demo" am: 2ddc54f5fd (diff) | |
parent | Merge "recovery: Reset optind to 1 after getopt" (diff) | |
download | android_bootable_recovery-901fb2c8113461fe1468bd79998c24f95b848f03.tar android_bootable_recovery-901fb2c8113461fe1468bd79998c24f95b848f03.tar.gz android_bootable_recovery-901fb2c8113461fe1468bd79998c24f95b848f03.tar.bz2 android_bootable_recovery-901fb2c8113461fe1468bd79998c24f95b848f03.tar.lz android_bootable_recovery-901fb2c8113461fe1468bd79998c24f95b848f03.tar.xz android_bootable_recovery-901fb2c8113461fe1468bd79998c24f95b848f03.tar.zst android_bootable_recovery-901fb2c8113461fe1468bd79998c24f95b848f03.zip |
Diffstat (limited to 'recovery.cpp')
-rw-r--r-- | recovery.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp index 2360057d0..ac3e7c633 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -1069,6 +1069,7 @@ Device::BuiltinAction start_recovery(Device* device, const std::vector<std::stri continue; } } + optind = 1; printf("stage is [%s]\n", stage.c_str()); printf("reason is [%s]\n", reason); |