diff --git a/src/sleep/sleep.c b/src/sleep/sleep.c index 86b155c9ea..8f6bd40c5c 100644 --- a/src/sleep/sleep.c +++ b/src/sleep/sleep.c @@ -303,11 +303,11 @@ static int execute_s2h(const SleepConfig *sleep_config) { r = execute(sleep_config, SLEEP_HIBERNATE, NULL); if (r < 0) { - log_notice_errno(r, "Couldn't hibernate, will try to suspend again: %m"); + log_notice("Couldn't hibernate, will try to suspend again."); r = execute(sleep_config, SLEEP_SUSPEND, "suspend-after-failed-hibernate"); if (r < 0) - return log_error_errno(r, "Could neither hibernate nor suspend, giving up: %m"); + return r; } return 0;