fix chdir for ash's cd (#8824)
This commit is contained in:
parent
61fac62521
commit
b50a53129f
|
@ -1180,6 +1180,7 @@ int chdir(const char *path)
|
|||
/* this is a not exist directory */
|
||||
dfs_unlock();
|
||||
|
||||
rt_set_errno(-ENOTDIR);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue