]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hibernate-resume: add missing newline to the generated unit
authorMike Yuan <me@yhndnzj.com>
Sun, 9 Jul 2023 16:35:31 +0000 (00:35 +0800)
committerMike Yuan <me@yhndnzj.com>
Sun, 9 Jul 2023 16:35:31 +0000 (00:35 +0800)
src/hibernate-resume/hibernate-resume-generator.c

index 32b65a59132cfb4ed2f14c01ac27c99382d47223..9d4c8704a3e0c574fd3cd94a1cc4984da3b08888 100644 (file)
@@ -222,7 +222,7 @@ static int process_resume(void) {
                 "\n"
                 "[Service]\n"
                 "Type=oneshot\n"
-                "ExecStart=" ROOTLIBEXECDIR "/systemd-hibernate-resume %2$s %3$" PRIu64,
+                "ExecStart=" ROOTLIBEXECDIR "/systemd-hibernate-resume %2$s %3$" PRIu64 "\n",
                 device_unit,
                 arg_resume_device,
                 arg_resume_offset);