X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/e39d738c39d37cdef115c145027f3eec85a62272..1b49de3c2c52e29c78f870826b6334abdadc0295:/html.c?ds=sidebyside 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); } -