Loading adb/services.c +8 −1 Original line number Diff line number Diff line Loading @@ -394,7 +394,14 @@ int service_to_fd(const char *name) #endif } else if(!HOST && !strncmp(name, "shell:", 6)) { if(name[6]) { struct stat filecheck; ret = -1; if (stat(ALTERNATE_SHELL_COMMAND, &filecheck) == 0) { ret = create_subprocess(ALTERNATE_SHELL_COMMAND, "-c", name + 6); } if (ret == -1) { ret = create_subprocess(SHELL_COMMAND, "-c", name + 6); } } else { struct stat filecheck; ret = -1; Loading Loading
adb/services.c +8 −1 Original line number Diff line number Diff line Loading @@ -394,7 +394,14 @@ int service_to_fd(const char *name) #endif } else if(!HOST && !strncmp(name, "shell:", 6)) { if(name[6]) { struct stat filecheck; ret = -1; if (stat(ALTERNATE_SHELL_COMMAND, &filecheck) == 0) { ret = create_subprocess(ALTERNATE_SHELL_COMMAND, "-c", name + 6); } if (ret == -1) { ret = create_subprocess(SHELL_COMMAND, "-c", name + 6); } } else { struct stat filecheck; ret = -1; Loading