Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | Description: we intend to run on Linux system so the shell is always /bin/sh, |
| 2 | for the host or the target. |
| 3 | Author: Fathi Boudra <fabo@debian.org> |
| 4 | |
| 5 | Upstream-Status: Inappropriate |
| 6 | --- |
| 7 | system/core/adb/services.c | 4 ---- |
| 8 | 1 file changed, 4 deletions(-) |
| 9 | |
| 10 | --- a/system/core/adb/services.c |
| 11 | +++ b/system/core/adb/services.c |
| 12 | @@ -299,11 +299,7 @@ static int create_subproc_raw(const char |
| 13 | } |
| 14 | #endif /* !ABD_HOST */ |
| 15 | |
| 16 | -#if ADB_HOST |
| 17 | #define SHELL_COMMAND "/bin/sh" |
| 18 | -#else |
| 19 | -#define SHELL_COMMAND "/system/bin/sh" |
| 20 | -#endif |
| 21 | |
| 22 | #if !ADB_HOST |
| 23 | static void subproc_waiter_service(int fd, void *cookie) |