aboutsummaryrefslogtreecommitdiffstats
path: root/src/nnn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nnn.c')
-rw-r--r--src/nnn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 6289a08..3564f0d 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -3106,7 +3106,7 @@ nochange:
goto nochange;
if (strcmp(path, dir) == 0)
- break;
+ goto nochange;
/* SEL_CDLAST: dir pointing to lastdir */
xstrlcpy(newpath, dir, PATH_MAX);