mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-25 17:41:19 +02:00
zsh-workers/9028
This commit is contained in:
parent
f83b8fe5fc
commit
4e49d209a6
1 changed files with 1 additions and 0 deletions
|
@ -951,6 +951,7 @@ cd_try_chdir(char *pfix, char *dest, int hard)
|
|||
else
|
||||
unmetafy(buf, &dlen);
|
||||
|
||||
if (lchdir(dest, NULL, hard)) /* Try plain relative first */
|
||||
if (lchdir(buf, NULL, hard)) {
|
||||
free(buf);
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue