Merge branch '3642_subshell_optional'

* 3642_subshell_optional:
  Ticket #3642: make --with-subshell=optional working again.
This commit is contained in:
Andrew Borodin 2016-06-28 09:40:54 +03:00
commit 1f5e93efc9
1 changed files with 3 additions and 1 deletions

View File

@ -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;
}