diff options
author | Dave Reisner <dreisner@archlinux.org> | 2014-02-21 10:31:26 -0500 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2014-02-21 12:49:05 -0500 |
commit | 28def94cc8fd4394b20e2155d7130166662343c4 (patch) | |
tree | c734d99cbeace21ad0d62d470b5a603026fec105 /src/journal/mmap-cache.c | |
parent | d60473c7ba32f2325a13f0357b23fd8e25609650 (diff) |
journald: ignore failure to watch hostname_fd on older kernels
Prior to 3.2, /proc/sys/kernel/hostname isn't a pollable file and
sd_event_add_io will return EPERM. Ignore this failure, since it isn't
critical to journald operation.
Reported and tested by user sraue on IRC.
Diffstat (limited to 'src/journal/mmap-cache.c')
0 files changed, 0 insertions, 0 deletions