Skip to content

Commit

Permalink
Merge pull request #556 from kelvinfan001/pr/update-reboot-msg
Browse files Browse the repository at this point in the history
update_agent: reword reboot delay broadcast mesage
  • Loading branch information
kelvinfan001 authored May 17, 2021
2 parents 958fac0 + a762039 commit 365215d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/update_agent/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,10 @@ fn format_reboot_warning(seconds: u64, release_ver: &str) -> String {
let time_till_reboot = format_seconds(seconds);

format!(
"New update {} deployed.\nRebooting into this update in around {} (if permitted by update strategy).",
"New update {} is available and has been deployed.\n\
If permitted by the update strategy, Zincati will reboot into this update when all\n\
interactive users have logged out, or in {}, whichever comes earlier.\n\
Please log out of all active sessions in order to let the auto-update process continue.",
release_ver, time_till_reboot
)
}
Expand Down

0 comments on commit 365215d

Please sign in to comment.