mirror of https://github.com/MidnightCommander/mc
Merge branch '3642_subshell_optional'
* 3642_subshell_optional: Ticket #3642: make --with-subshell=optional working again.
This commit is contained in:
commit
1f5e93efc9
|
@ -241,7 +241,9 @@ mc_shell_init (void)
|
|||
if (mc_shell->type == SHELL_NONE)
|
||||
mc_shell_recognize_path (mc_shell);
|
||||
|
||||
mc_global.tty.use_subshell = mc_shell->type != SHELL_NONE;
|
||||
if (mc_shell->type == SHELL_NONE)
|
||||
mc_global.tty.use_subshell = FALSE;
|
||||
|
||||
mc_global.shell = mc_shell;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue