From 9a4b569e9d51c404a8a7a038f0d8d37aa2e802e8 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Wed, 19 Sep 2012 15:09:45 -0400 Subject: Improve adb sideload - use storage vs tmp --- recovery.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recovery.cpp') 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; } -- cgit v1.2.3