summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-06-01 19:15:10 +0200
committerLennart Poettering <lennart@poettering.net>2023-06-01 19:15:10 +0200
commit45e3406e23eb003b56eaf19a0979dec48aa97651 (patch)
tree6085f6e266513fa91e983e491ca01236d03107ba /src
parentveritysetup: minor renaming of functions (diff)
downloadsystemd-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.c2
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;