mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-13 12:58:20 +03:00
veritysetup: remove double escaping of data device + hash device spec
generator_write_veritysetup_service_section() already escapes the parameters internally, doing so in the caller means double escaping, which is a bug. Fix it. (cherry picked from commit 45e3406e23eb003b56eaf19a0979dec48aa97651)
This commit is contained in:
parent
86206af0bf
commit
e06ff3eca1
@ -426,7 +426,7 @@ static int create_disk(
|
||||
"After=systemd-tmpfiles-setup-dev.service\n",
|
||||
hu_escaped);
|
||||
|
||||
r = generator_write_veritysetup_service_section(f, name, du_escaped, hu_escaped, roothash, options);
|
||||
r = generator_write_veritysetup_service_section(f, name, du, hu, roothash, options);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user