Commit 0d76062b authored by Petr Baudis's avatar Petr Baudis
Browse files

compctld: Do not require 15bit pid

parent 74792bf3
......@@ -209,7 +209,7 @@ sockerror:
pid_t pid = atoi(line + strlen("stop "));
/* Sanity check. */
if (pid < 10 || pid > 32768) {
if (pid < 10) {
syslog(LOG_WARNING, "stop: invalid pid (%d)", pid);
mprintf(fd, "0 invalid pid");
close(fd);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment