diff options
author | Filipe Brandenburger <filbranden@google.com> | 2015-10-22 23:12:31 -0700 |
---|---|---|
committer | Filipe Brandenburger <filbranden@google.com> | 2015-10-22 23:12:31 -0700 |
commit | 4cbf8afa0487b75525313b586853823ba5763d8e (patch) | |
tree | d078e8301c30be36b87e72460fe3b3c579b2b1cf /units/systemd-user-sessions.service.in | |
parent | c9fc270e462bf2f4eab963bf71234d64b0c4c30f (diff) |
util: Replace state with separate booleans in extract_first_word
This simplifies the logic and uniformizes the way single and double
quotes are handled. In the end, the code is about 40 lines shorter.
Tested by running the excellent test cases from test-util. Also
installed the systemd binaries including this patch and booted a
system with it, everything looked normal.
Diffstat (limited to 'units/systemd-user-sessions.service.in')
0 files changed, 0 insertions, 0 deletions