fix chdir for ash's cd (#8824)

This commit is contained in:
xiao-mang
2024-04-19 17:58:04 +08:00
committed by GitHub
parent 61fac62521
commit b50a53129f
+1
View File
@@ -1180,6 +1180,7 @@ int chdir(const char *path)
/* this is a not exist directory */
dfs_unlock();
rt_set_errno(-ENOTDIR);
return -1;
}