From ce899f46dba33bd7840bc3162310bf989a8f5bc0 Mon Sep 17 00:00:00 2001 From: herbert Date: Wed, 4 Aug 2004 20:46:34 +1000 Subject: Fixed cd - when OLDPWD is unset. --- src/cd.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') 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; -- cgit 1.4.1