summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-08-07 22:24:21 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-08-07 22:24:21 +0200
commit06689dc53d14ab0449c64c097d2937179f986873 (patch)
tree8676aa4a471da11239baef3f07954ab6bf9911c6 /recovery.cpp
parentMerge "udpater: Call fsync() after rename()." (diff)
parentFix recovery image build. (diff)
downloadandroid_bootable_recovery-06689dc53d14ab0449c64c097d2937179f986873.tar
android_bootable_recovery-06689dc53d14ab0449c64c097d2937179f986873.tar.gz
android_bootable_recovery-06689dc53d14ab0449c64c097d2937179f986873.tar.bz2
android_bootable_recovery-06689dc53d14ab0449c64c097d2937179f986873.tar.lz
android_bootable_recovery-06689dc53d14ab0449c64c097d2937179f986873.tar.xz
android_bootable_recovery-06689dc53d14ab0449c64c097d2937179f986873.tar.zst
android_bootable_recovery-06689dc53d14ab0449c64c097d2937179f986873.zip
Diffstat (limited to '')
-rw-r--r--recovery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 8123903ae..515470f96 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -942,7 +942,7 @@ main(int argc, char **argv) {
// only way recovery should be run with this argument is when it
// starts a copy of itself from the apply_from_adb() function.
if (argc == 2 && strcmp(argv[1], "--adbd") == 0) {
- adb_main(0, DEFAULT_ADB_PORT);
+ adb_main(0, DEFAULT_ADB_PORT, -1);
return 0;
}