X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/e39d738c39d37cdef115c145027f3eec85a62272..47a81c77fdd017227632c4df9a0b7b135b8a738d:/html.c diff --git a/html.c b/html.c index c0b2ed4..175b4b6 100644 --- a/html.c +++ b/html.c @@ -158,10 +158,11 @@ void html_filemode(unsigned short mode) html("d"); else if (S_ISLNK(mode)) html("l"); + else if (S_ISDIRLNK(mode)) + html("m"); else html("-"); html_fileperm(mode >> 6); html_fileperm(mode >> 3); html_fileperm(mode); } -