]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
veritysetup-generator: specify source for generator_open_unit_file()
authorLennart Poettering <lennart@poettering.net>
Wed, 19 Mar 2025 09:05:50 +0000 (10:05 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 19 Mar 2025 15:32:02 +0000 (16:32 +0100)
src/veritysetup/veritysetup-generator.c

index cc489b1b6517d0189d401b35b3fbebc33dd5a197..95f1d52fefb8243f4a3132601ac13715145df927 100644 (file)
@@ -92,7 +92,7 @@ static int create_special_device(
         if (r < 0)
                 return log_error_errno(r, "Failed to generate unit name: %m");
 
-        r = generator_open_unit_file(arg_dest, NULL, service, &f);
+        r = generator_open_unit_file(arg_dest, "/proc/cmdline", service, &f);
         if (r < 0)
                 return r;