Commit 24624343 authored by Jay Freeman (saurik)'s avatar Jay Freeman (saurik) Committed by Keith Winstein
Browse files

Use _PATH_BSHELL for "/bin/sh" and fix argv[0].

The previous code had the following issues:

1) hardcoded the path of /bin/sh (should use paths.h)
2) threw away the variable with the fallback shell
3) prepended - to the path rather than the shell name
4) added a - before explicit chosen non-shell commands

Closes #199.
parent 6c042914
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment