mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
Fix generator name in hibernate-resume-generator's drop-in
Introduced in ff757c9d29
This commit is contained in:
committed by
Yu Watanabe
parent
61c3e2c8bf
commit
90198bcbea
@@ -93,7 +93,7 @@ static int process_resume(void) {
|
||||
return log_error_errno(r, "Failed to generate unit name: %m");
|
||||
|
||||
r = write_drop_in(arg_dest, device_unit, 40, "device-timeout",
|
||||
"# Automatically generated by systemd-cryptsetup-generator\n\n"
|
||||
"# Automatically generated by systemd-hibernate-resume-generator\n\n"
|
||||
"[Unit]\nJobTimeoutSec=0");
|
||||
if (r < 0)
|
||||
log_warning_errno(r, "Failed to write device timeout drop-in: %m");
|
||||
|
||||
Reference in New Issue
Block a user