diff options
Diffstat (limited to 'recovery.cpp')
-rw-r--r-- | recovery.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery.cpp b/recovery.cpp index b8bb09920..2d89014c1 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -790,8 +790,8 @@ main(int argc, char **argv) { // anything in the command file or bootloader control block; the // 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(); + if (argc == 3 && strcmp(argv[1], "--adbd") == 0) { + adb_main(argv[2]); return 0; } |