]> git.ipfire.org Git - thirdparty/systemd.git/commit
shared/install: Preserve escape characters for escaped unit names
authorDavid Michael <dm0@redhat.com>
Wed, 20 Mar 2019 15:14:32 +0000 (15:14 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Mar 2019 17:26:24 +0000 (18:26 +0100)
commit82bd4da71e9cdd5a2e9266332f5a7399845e31f6
treef80d24f9f9b904b9722cd30b2a438049d38ebf88
parenta49945e663c6a8d3c149f1d944b69f6543070e97
shared/install: Preserve escape characters for escaped unit names

Since switching to extract_first_word with no flags for parsing
unit names in 4c9565eea534cd233a913c8c21f7920dba229743, escape
characters will be stripped from escaped unit names such as
"mnt-persistent\x2dvolume.mount" resulting in the unit not being
configured as defined.  Preserve escape characters again for
compatibility with existing preset definitions.
src/shared/install.c