mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08: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.
This commit is contained in:
@@ -413,7 +413,7 @@ static int create_veritytab_device(
|
||||
"Wants=modprobe@loop.service\n"
|
||||
"After=modprobe@loop.service\n");
|
||||
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user