handler: syslog error if file does not exist

Report via syslog that file does not exist.
master
OpenGnSys Support Team 2024-01-11 12:35:07 +01:00
parent 98d358c9d8
commit db1e0f1799
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,8 @@ static int tip_client_file_not_found(struct tip_client *cli)
send(tip_client_socket(cli), buf, strlen(buf), 0);
syslog(LOG_ERR, "Requested file `%s' does not exist", cli->path);
return -1;
}