stat: Recognize sockets properly
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
apio 2023-12-04 20:42:31 +01:00
parent 9b01b5a5db
commit 5188def9e5
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -14,6 +14,7 @@ static const char* file_type(mode_t mode)
case S_IFBLK: return "block special device";
case S_IFLNK: return "symbolic link";
case S_IFIFO: return "pipe";
case S_IFSOCK: return "socket";
default: return "unknown file type";
}
}