diff --git a/src/subshell/common.c b/src/subshell/common.c index 8aab520450..ed7dd93291 100644 --- a/src/subshell/common.c +++ b/src/subshell/common.c @@ -1901,7 +1901,7 @@ invoke_subshell (const char *command, int how, vfs_path_t **new_dir_vpath) // some sort of error. if (use_persistent_buffer) clear_cwd_pipe (); - else + else if (mc_global.mc_run_mode == MC_RUN_FULL) { /* We don't need to call feed_subshell here if we are using fish, because of a * quirk in the behavior of that particular shell. */