diff options
author | Filipe Brandenburger <filbranden@google.com> | 2015-06-08 21:31:43 -0700 |
---|---|---|
committer | Filipe Brandenburger <filbranden@google.com> | 2015-06-17 11:12:12 -0700 |
commit | b59292b296ad71a20a40d7c347b6ca71df48892d (patch) | |
tree | 64e88630263d09fa31c3c5db9eb00e2e277e513a /units/sysinit.target | |
parent | d6293c070e6e4b83d8e7ec56e465b0b215d55d98 (diff) |
util: Introduce unquote_first_word_and_warn
It will try to unquot_first_word, but if it runs into escaping problems
it will retry it adding UNQUOTE_CUNESCAPE_RELAX to the flags. If it
succeeds on the second try, it will log a warning about it. If it fails
both times, it will log an error.
Add test cases to confirm it behaves as expected.
Diffstat (limited to 'units/sysinit.target')
0 files changed, 0 insertions, 0 deletions