diff options
author | Felipe Sateler <fsateler@users.noreply.github.com> | 2016-08-17 15:11:27 -0300 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-08-17 20:11:27 +0200 |
commit | 7532e6d4f4e5c155c01cbd039c0ba077184b2097 (patch) | |
tree | ae577dccadaccd9031eb56056be4375e451b44d1 /src/journal | |
parent | 105bdb46b4ac7eb658a2f27727216591d0bfe267 (diff) |
sysv-generator: better error reporting (#3977)
Currently in the journal you get messages without context like:
systemd-sysv-generator[$pid]: Failed to build name: Invalid argument
When parsing the init script, show the file and line number where the
error was found. At the same time, add more context information if
available.
Thus turning the message into something like:
systemd-sysv-generator[$pid]: [/etc/init.d/root-system-proofd:13] Could not build name for facility $network,: Invalid argument
Diffstat (limited to 'src/journal')
0 files changed, 0 insertions, 0 deletions