Stabilize VFS, PROCFS and EXT2.
This commit is contained in:
+1
-1
@@ -326,7 +326,7 @@ static int __cd(int argc, char *argv[])
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
int fd = open(path, O_RDONLY | O_DIRECTORY, 0);
|
||||
int fd = open(path, O_RDONLY | O_DIRECTORY, S_IXUSR);
|
||||
if (fd == -1) {
|
||||
printf("cd: %s: %s\n\n", argv[0], strerror(errno), path);
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user