fix(terminal): invalid shell path in TermuxUtils.shellExists

This commit is contained in:
Akash Yadav
2023-11-15 10:57:04 +05:30
parent ddaecc7042
commit 8a8f2f495f
@@ -28,7 +28,7 @@ public class TermuxShellUtils {
public static boolean shellExists(boolean failsafe) {
for (String shellBinary : UnixShellEnvironment.LOGIN_SHELL_BINARIES) {
File shellFile = new File(Environment.PREFIX, shellBinary);
File shellFile = new File(Environment.BIN_DIR, shellBinary);
if (shellFile.canExecute()) {
return true;
}