Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ticket #4549: subshell: call execl with argv[0] being the actual path…
… to Bash. We currently call Bash with argv[0] being just the fixed string "bash", but this confuses Bash when it initializes the shell variable BASH, which are expected to be the absolute file path to the current Bash image. This patch fixes argv[0] to be the actual path that mc uses to start Bash. Signed-off-by: Andrew Borodin <[email protected]>
- Loading branch information