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:
Andrew Borodin 2016-05-09 16:50:04 +03:00
parent 57d713085b
commit 76a4969b00

View File

@ -241,7 +241,9 @@ mc_shell_init (void)
if (mc_shell->type == SHELL_NONE) if (mc_shell->type == SHELL_NONE)
mc_shell_recognize_path (mc_shell); 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; mc_global.shell = mc_shell;
} }