Fixed tokenization (again)

This commit is contained in:
2022-07-31 00:32:22 -05:00
parent 92eda6f326
commit df9484283e
3 changed files with 8 additions and 7 deletions

View File

@@ -98,8 +98,8 @@ void runServer(int connfd, Sitefile *site, volatile int *pending, int id) {
createErrorLog("seteuid() failed", errno);
root = getpwnam("root");
if (root != NULL) {
/* I don't know why this if statement could be false but we have it
* just in case. */
/* I don't know why this if statement could be false but we have
* it just in case. */
if (geteuid() == root->pw_uid)
createLog("swebs probably should not be run as root");
}