mirror of
https://github.com/systemd/systemd.git
synced 2025-01-28 21:47:38 +03:00
sleep: coding style fixlets
This commit is contained in:
parent
4f58b656d9
commit
3c3f46013e
@ -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