NSH Fix ls -l output for regular files
This commit is contained in:
parent
c993573dc2
commit
763519b00a
@ -284,7 +284,7 @@ static int ls_handler(FAR struct nsh_vtbl_s *vtbl, FAR const char *dirpath,
|
||||
{
|
||||
details[0]='b';
|
||||
}
|
||||
else
|
||||
else if (!S_ISREG(buf.st_mode))
|
||||
{
|
||||
details[0]='?';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user