Skip to content
Snippets Groups Projects
Commit 0d76062b authored by Petr Baudis's avatar Petr Baudis
Browse files

compctld: Do not require 15bit pid

parent 74792bf3
No related branches found
No related tags found
No related merge requests found
...@@ -209,7 +209,7 @@ sockerror: ...@@ -209,7 +209,7 @@ sockerror:
pid_t pid = atoi(line + strlen("stop ")); pid_t pid = atoi(line + strlen("stop "));
/* Sanity check. */ /* Sanity check. */
if (pid < 10 || pid > 32768) { if (pid < 10) {
syslog(LOG_WARNING, "stop: invalid pid (%d)", pid); syslog(LOG_WARNING, "stop: invalid pid (%d)", pid);
mprintf(fd, "0 invalid pid"); mprintf(fd, "0 invalid pid");
close(fd); close(fd);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment