Fix broken 'adb root' command.
Change-Id: I75bf01863e82967a7214d3e31b8db792690716c1
This commit is contained in:
parent
968c8f0703
commit
1bba53f7c8
|
@ -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]);
|
||||
|
|
Loading…
Reference in New Issue