mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-29 06:51:03 +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
|
else
|
||||||
unmetafy(buf, &dlen);
|
unmetafy(buf, &dlen);
|
||||||
|
|
||||||
|
if (lchdir(dest, NULL, hard)) /* Try plain relative first */
|
||||||
if (lchdir(buf, NULL, hard)) {
|
if (lchdir(buf, NULL, hard)) {
|
||||||
free(buf);
|
free(buf);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
Loading…
Reference in a new issue