diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-10-23 18:20:54 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-10-24 23:03:49 +0200 |
commit | dea7b6b043f0cd9e34ee719b9b612c3a4776387e (patch) | |
tree | 1e46775676ee8ac282bd912d52f0f6e55892227d /tools | |
parent | 84ac7bea360cd369df26910e9685a7eed2327088 (diff) |
util-lib: rework extract_first_word_and_warn() a bit
- Really warn in all error cases, not just some. We need to make sure
that all errors are logged to not confuse the user.
- Explicitly check for EINVAL error code before claiming anything about
invalid escapes, could be ENOMEM after all.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions