diff --git a/clite/commands.js b/clite/commands.js index b9661be..164f829 100644 --- a/clite/commands.js +++ b/clite/commands.js @@ -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);