diff options
Diffstat (limited to 'usr.sbin/moused/moused.c')
-rw-r--r-- | usr.sbin/moused/moused.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/moused/moused.c b/usr.sbin/moused/moused.c index 9fa5145..39efac1 100644 --- a/usr.sbin/moused/moused.c +++ b/usr.sbin/moused/moused.c @@ -918,7 +918,7 @@ moused(void) logerr(1, "cannot open /dev/consolectl"); if (!nodaemon && !background) { - pfh = pidfile_open(pidfile, 0644, &mpid); + pfh = pidfile_open(pidfile, 0600, &mpid); if (pfh == NULL) { if (errno == EEXIST) logerrx(1, "moused already running, pid: %d", mpid); |