Ticket #3658: main.c.patch
File main.c.patch, 491 bytes (added by Snelius, 21 months ago) |
---|
-
src/main.c
old new 362 362 363 363 #ifdef ENABLE_SUBSHELL 364 364 /* Disallow subshell when invoked as standalone viewer or editor from running mc */ 365 if (mc_global. mc_run_mode != MC_RUN_FULL && mc_global.run_from_parent_mc)365 if (mc_global.shell->type == SHELL_SH || (mc_global.mc_run_mode != MC_RUN_FULL && mc_global.run_from_parent_mc)) 366 366 mc_global.tty.use_subshell = FALSE; 367 367 368 368 if (mc_global.tty.use_subshell)