diff options
Diffstat (limited to 'libc/bionic/__bionic_get_shell_path.cpp')
-rw-r--r-- | libc/bionic/__bionic_get_shell_path.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libc/bionic/__bionic_get_shell_path.cpp b/libc/bionic/__bionic_get_shell_path.cpp index c087b3532..7aeed182e 100644 --- a/libc/bionic/__bionic_get_shell_path.cpp +++ b/libc/bionic/__bionic_get_shell_path.cpp @@ -36,10 +36,6 @@ #define VENDOR_PREFIX "/vendor/" static const char* init_sh_path() { -#if !defined(__ANDROID__) - // For the host Bionic, use the standard /bin/sh - return "/bin/sh"; -#else /* If the device is not treble enabled, return the path to the system shell. * Vendor code, on non-treble enabled devices could use system() / popen() * with relative paths for executables on /system. Since /system will not be @@ -55,7 +51,6 @@ static const char* init_sh_path() { } #endif return "/system/bin/sh"; -#endif // if !defined(__ANDROID__) } const char* __bionic_get_shell_path() { |