aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/inetd
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2005-09-16 11:24:28 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2005-09-16 11:24:28 +0000
commit8b28aef23886c140d14d326e9f1df96f7986cd29 (patch)
treed2465334cbecfbd0881a19b190bef28772de14f5 /usr.sbin/inetd
parent3badacee8c62f420e7519685b3700d5741d67ded (diff)
Notes
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r--usr.sbin/inetd/inetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index 4d41e812d73e..e5f7365eca11 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -467,7 +467,7 @@ main(int argc, char **argv)
if (debug == 0) {
pid_t otherpid;
- pfh = pidfile_open(pid_file, 0644, &otherpid);
+ pfh = pidfile_open(pid_file, 0600, &otherpid);
if (pfh == NULL) {
if (errno == EEXIST) {
syslog(LOG_ERR, "%s already running, pid: %d",