mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 01:54:24 +03:00
Workaround. Fix. #373
This commit is contained in:
parent
86a9e0be2c
commit
e2d7ee06bc
@ -362,7 +362,7 @@ main (int argc, char *argv[])
|
|||||||
|
|
||||||
#ifdef ENABLE_SUBSHELL
|
#ifdef ENABLE_SUBSHELL
|
||||||
/* Disallow subshell when invoked as standalone viewer or editor from running mc */
|
/* Disallow subshell when invoked as standalone viewer or editor from running mc */
|
||||||
if (mc_global.mc_run_mode != MC_RUN_FULL && mc_global.run_from_parent_mc)
|
if (mc_global.shell->type == SHELL_SH || (mc_global.mc_run_mode != MC_RUN_FULL && mc_global.run_from_parent_mc))
|
||||||
mc_global.tty.use_subshell = FALSE;
|
mc_global.tty.use_subshell = FALSE;
|
||||||
|
|
||||||
if (mc_global.tty.use_subshell)
|
if (mc_global.tty.use_subshell)
|
||||||
|
Loading…
Reference in New Issue
Block a user