opnsense-ports/sysutils/system-tools-backends/files/patch-dispatcher_main.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

11 lines
476 B
C

--- dispatcher/main.c.orig 2009-03-17 02:57:49.000000000 +0100
+++ dispatcher/main.c 2009-04-16 10:05:33.000000000 +0200
@@ -48,7 +48,7 @@ daemonize (void)
setsid ();
if ((pidfile_fd = open (LOCALSTATEDIR "/run/system-tools-backends.pid",
- O_CREAT | O_WRONLY,
+ O_CREAT | O_WRONLY, 0600,
S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) != -1)
{
str = g_strdup_printf ("%d", getpid ());