blob: 8381967c442cdd0b8dbb270c375d9976b6ff81ac [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001Description: we intend to run on Linux system so the shell is always /bin/sh,
2 for the host or the target.
3Author: Fathi Boudra <fabo@debian.org>
4
5Upstream-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)