diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-06-01 19:15:10 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-06-01 19:15:10 +0200 |
commit | 45e3406e23eb003b56eaf19a0979dec48aa97651 (patch) | |
tree | 6085f6e266513fa91e983e491ca01236d03107ba /src | |
parent | veritysetup: minor renaming of functions (diff) | |
download | systemd-45e3406e23eb003b56eaf19a0979dec48aa97651.tar.xz systemd-45e3406e23eb003b56eaf19a0979dec48aa97651.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/veritysetup/veritysetup-generator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/veritysetup/veritysetup-generator.c b/src/veritysetup/veritysetup-generator.c index ca2e6401ac..303e0ced6d 100644 --- a/src/veritysetup/veritysetup-generator.c +++ b/src/veritysetup/veritysetup-generator.c @@ -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; |