mirror of
https://codeberg.org/TicklishHoneyBee/CLIte.git
synced 2026-03-11 09:04:37 +00:00
fix ls not listing symlinked directories properly
This commit is contained in:
parent
368a5cddfb
commit
4e36e1749f
1 changed files with 1 additions and 1 deletions
|
|
@ -138,7 +138,7 @@ Options:
|
|||
dirs.forEach(function(dir,index) {
|
||||
if (dirs.length > 1)
|
||||
stdio.printf('%s:\n',dir);
|
||||
var st = stdio.lstat(dir);
|
||||
var st = stdio.stat(dir);
|
||||
if (!st) {
|
||||
stdio.fprintf(io.stderr,'cannot read file: %s\n',dir);
|
||||
stdio.close(fd);
|
||||
|
|
|
|||
Loading…
Reference in a new issue