mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 10:04:32 +03:00
Ticket #3642: make --with-subshell=optional working again.
The bug was introduced in 83b02196c8
.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
57d713085b
commit
76a4969b00
@ -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
Block a user