ls: Fix showing links to directories
With links to directories we have to do some adjustments in the
printout. In ls_one we have to use lstat() because we want to
show informations about the file or link. When determing if it's
a file or directory that we show we have to use stat() instead.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent a602beb commit d173874abbfa6e7d0fc410df787b56f5410b3937
@Sascha Hauer Sascha Hauer authored on 10 May 2017
Showing 1 changed file
View
commands/ls.c