clamav/clamav-milter.patch

16 lines
387 B
Diff

--- clamav-milter/clamav-milter.c
+++ clamav-milter/clamav-milter.c
@@ -2069,12 +2069,7 @@
logg(_("!Can't save PID in file %s\n"), pidfile);
return EX_CONFIG;
}
-#ifdef C_LINUX
- /* Ensure that all threads are kill()ed */
- fprintf(fd, "-%d\n", (int)getpgrp());
-#else
fprintf(fd, "%d\n", (int)getpid());
-#endif
fclose(fd);
umask(old_umask);
} else if(tmpdir) {