summaryrefslogtreecommitdiffstats
path: root/src/hibernate-resume/hibernate-resume-generator.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-07-04 11:47:19 +0200
committerLuca Boccassi <luca.boccassi@gmail.com>2023-07-04 13:30:33 +0200
commit0b20c56ee10291e54b1f57061f448aa228d1e141 (patch)
treecd53df3ed6c4f5d039aa4f33673fd3dca22f517c /src/hibernate-resume/hibernate-resume-generator.c
parentsystemctl: implement a new "whoami" verb, that just returns unit of caller/PID (diff)
downloadsystemd-0b20c56ee10291e54b1f57061f448aa228d1e141.tar.xz
systemd-0b20c56ee10291e54b1f57061f448aa228d1e141.zip
hibernate-resume-generator: downgrade 'noresume' log message
This log message is shown pretty regular at boot in various scenarios (such as CI builds), and it's not a reason for any concern, it's just the immediate effect of explicit configuration. Hence let's downgrade from LOG_NOTICE to LOG_INFO so that it is still usually in the boot output, but not particularly highlighted, since there's really no reason to.
Diffstat (limited to 'src/hibernate-resume/hibernate-resume-generator.c')
-rw-r--r--src/hibernate-resume/hibernate-resume-generator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hibernate-resume/hibernate-resume-generator.c b/src/hibernate-resume/hibernate-resume-generator.c
index fac57d38c4..5ace8543f0 100644
--- a/src/hibernate-resume/hibernate-resume-generator.c
+++ b/src/hibernate-resume/hibernate-resume-generator.c
@@ -250,7 +250,7 @@ static int run(const char *dest, const char *dest_early, const char *dest_late)
/* Don't even consider resuming outside of initrd. */
if (!in_initrd()) {
- log_debug("Not running in an initrd, quitting.");
+ log_debug("Not running in an initrd, exiting.");
return 0;
}
@@ -259,7 +259,7 @@ static int run(const char *dest, const char *dest_early, const char *dest_late)
log_warning_errno(r, "Failed to parse kernel command line, ignoring: %m");
if (arg_noresume) {
- log_notice("Found \"noresume\" on the kernel command line, quitting.");
+ log_info("Found \"noresume\" on the kernel command line, exiting.");
return 0;
}