mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-09 09:57:26 +03:00
sleep: coding style fixlets
(cherry picked from commit 3c3f46013ed53aba1aad5b51844434713fa5a0e9)
This commit is contained in:
parent
eea08d150c
commit
b84a05fc57
@ -431,9 +431,9 @@ static int execute_s2h(const SleepConfig *sleep_config) {
|
||||
return 0;
|
||||
} else {
|
||||
r = custom_timer_suspend(sleep_config);
|
||||
if(r < 0)
|
||||
if (r < 0)
|
||||
return log_debug_errno(r, "Suspend cycle with manual battery discharge rate estimation failed: %m");
|
||||
if(r == 0)
|
||||
if (r == 0)
|
||||
/* manual wakeup */
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user