Skip to content

Commit 5492bf5

Browse files
committed
Prevent mcedit from hanging on macro
Signed-off-by: Jiri Tyr <jiri.tyr@gmail.com>
1 parent 1796996 commit 5492bf5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/subshell/common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,7 @@ invoke_subshell (const char *command, int how, vfs_path_t **new_dir_vpath)
19011901
// some sort of error.
19021902
if (use_persistent_buffer)
19031903
clear_cwd_pipe ();
1904-
else
1904+
else if (mc_global.mc_run_mode == MC_RUN_FULL)
19051905
{
19061906
/* We don't need to call feed_subshell here if we are using fish, because of a
19071907
* quirk in the behavior of that particular shell. */

0 commit comments

Comments
 (0)