1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-24 21:34:08 +03:00

sleep-config: downgrade log level in can_s2h()

As in the previous commit: can_sleep() is more a library-style function,
hence log at debug level only.
This commit is contained in:
Lennart Poettering 2020-06-10 16:52:08 +02:00
parent c02540dc9e
commit c732e87979

View File

@ -588,8 +588,7 @@ static bool can_s2h(const SleepConfig *sleep_config) {
int r;
if (!clock_supported(CLOCK_BOOTTIME_ALARM)) {
log_full(errno == ENOENT ? LOG_DEBUG : LOG_WARNING,
"CLOCK_BOOTTIME_ALARM is not supported");
log_debug("CLOCK_BOOTTIME_ALARM is not supported.");
return false;
}