X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/cc1dbd1b5d610bd5e626f54d310f11cf47684ea1..ded9393b173853d2e960f9b176aeb0bc4ed35be2:/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); } -