From 0d76062ba42465faa35590725253b365ce8e5bb5 Mon Sep 17 00:00:00 2001 From: Petr Baudis <pasky@ucw.cz> Date: Sun, 18 Mar 2012 01:14:31 +0100 Subject: [PATCH] compctld: Do not require 15bit pid --- compctld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compctld.c b/compctld.c index 5824172..27c5511 100644 --- a/compctld.c +++ b/compctld.c @@ -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); -- GitLab