summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron/cron/cron.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/cron/cron/cron.c')
-rw-r--r--usr.sbin/cron/cron/cron.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/cron/cron/cron.c b/usr.sbin/cron/cron/cron.c
index f092fae..3ebdcf2 100644
--- a/usr.sbin/cron/cron/cron.c
+++ b/usr.sbin/cron/cron/cron.c
@@ -72,7 +72,7 @@ open_pidfile(void)
int otherpid;
(void) snprintf(pidfile, sizeof(pidfile), PIDFILE, PIDDIR);
- pfh = pidfile_open(pidfile, 0644, &otherpid);
+ pfh = pidfile_open(pidfile, 0600, &otherpid);
if (pfh == NULL) {
if (errno == EEXIST) {
snprintf(buf, sizeof(buf),
OpenPOWER on IntegriCloud