journalctl: handle inotify exhaustion nicer
authorKevin Kuehler <keur@ocf.berkeley.edu>
Tue, 19 Jun 2018 20:56:36 +0000 (13:56 -0700)
committerLennart Poettering <lennart@poettering.net>
Thu, 21 Jun 2018 12:46:53 +0000 (14:46 +0200)
commit321ed3643a898bcd736cee610209d1671ce8a0f9
tree2b419914681300b1256d9369b7392d94456e32b7
parentfee854ee8ccde0cd28e0f925dea18cce35f3993d
journalctl: handle inotify exhaustion nicer

Instead of failing, log that inotify wds
are exhausted and fallback to -n switch.

Fixes #1296.
src/journal/journalctl.c