openbsd-ports/net/zabbix/patches/patch-src_libs_zbxnix_daemon_c
jasper b00f0a97ab - update zabbix to 1.8
- remove -doc subpackage, the documentation is still available online

look good to sthen@
2010-01-11 18:30:01 +00:00

13 lines
453 B
Plaintext

$OpenBSD: patch-src_libs_zbxnix_daemon_c,v 1.3 2010/01/11 18:30:01 jasper Exp $
--- src/libs/zbxnix/daemon.c.orig Thu Dec 24 00:00:51 2009
+++ src/libs/zbxnix/daemon.c Thu Dec 24 00:01:05 2009
@@ -91,7 +91,7 @@ int daemon_start(int allow_root)
pid_t pid;
struct passwd *pwd;
struct sigaction phan;
- char user[7] = "zabbix";
+ char user[8] = "_zabbix";
/* running as root ?*/
if((0 == allow_root) && (0 == getuid() || 0 == getgid()))