summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/cd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cd.c b/src/cd.c
index 9f84452..1a7aaee 100644
--- a/src/cd.c
+++ b/src/cd.c
@@ -114,7 +114,6 @@ cdcmd(int argc, char **argv)
 	else if (dest[0] == '-' && dest[1] == '\0') {
 		dest = bltinlookup("OLDPWD");
 		flags |= CD_PRINT;
-		goto step7;
 	}
 	if (!dest)
 		dest = nullstr;