hibernate-resume: add missing newline to the generated unit

This commit is contained in:
Mike Yuan 2023-07-10 00:35:31 +08:00
parent c089af84c4
commit ee1369d789
No known key found for this signature in database
GPG key ID: 417471C0A40F58B3

View file

@ -222,7 +222,7 @@ static int process_resume(void) {
"\n" "\n"
"[Service]\n" "[Service]\n"
"Type=oneshot\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, device_unit,
arg_resume_device, arg_resume_device,
arg_resume_offset); arg_resume_offset);