aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nnn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nnn.c b/nnn.c
index b8aeb21..e12e147 100644
--- a/nnn.c
+++ b/nnn.c
@@ -1185,7 +1185,7 @@ nochange:
}
}
exitcurses();
- spawn(bin, newpath, NULL, 1);
+ spawn(bin, newpath, NULL, 0);
initcurses();
continue;
}
@@ -1351,7 +1351,7 @@ nochange:
case SEL_RUN:
run = xgetenv(env, run);
exitcurses();
- spawn(run, NULL, path, 0);
+ spawn(run, NULL, path, 1);
initcurses();
/* Re-populate as directory content may have changed */
goto begin;