[systemd-devel] [PATCH] unit-name: Fix unescaping
teg at jklm.no
Sat Oct 16 15:11:23 PDT 2010
I ran across this bug when I was trying to make my fsck at .service work.
I wanted to fsck /dev/disk/by-label/boot, but systemd misstakenly
escaped and unescaped the path to /dev/disk/by\x2dlabel/boot.
The reason is that invalid characters in unit names are escaped as
\xFF. However, when
unescaping we were looking for \FF.
The attached patch fixes it for me.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1341 bytes
Desc: not available
More information about the systemd-devel