From 1bba53f7c851068c127d16ba160cd3074d6027db Mon Sep 17 00:00:00 2001 From: Xavier Ducrohet Date: Tue, 25 Aug 2009 20:16:14 -0700 Subject: [PATCH] Fix broken 'adb root' command. Change-Id: I75bf01863e82967a7214d3e31b8db792690716c1 --- adb/commandline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adb/commandline.c b/adb/commandline.c index 5d3187a64..411bb82a3 100644 --- a/adb/commandline.c +++ b/adb/commandline.c @@ -929,7 +929,7 @@ top: if(!strcmp(argv[0], "remount") || !strcmp(argv[0], "reboot") || !strcmp(argv[0], "tcpip") || !strcmp(argv[0], "usb") - || !strcmp(argv[0], "reboot")) { + || !strcmp(argv[0], "root")) { char command[100]; if (argc > 1) snprintf(command, sizeof(command), "%s:%s", argv[0], argv[1]);