mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-26 14:54:35 +08:00
fix chdir for ash's cd (#8824)
This commit is contained in:
@@ -1180,6 +1180,7 @@ int chdir(const char *path)
|
||||
/* this is a not exist directory */
|
||||
dfs_unlock();
|
||||
|
||||
rt_set_errno(-ENOTDIR);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user