mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-07 14:14:35 +00:00
sd-bus: drop weird empty lines
We should never put empty lines between `if` and `else if`, unless we use braces.
This commit is contained in:
@@ -1023,7 +1023,6 @@ static int bus_start_address(sd_bus *b) {
|
||||
|
||||
if (b->exec_path)
|
||||
r = bus_socket_exec(b);
|
||||
|
||||
else if ((b->nspid > 0 || b->machine) && b->kernel) {
|
||||
r = bus_container_connect_kernel(b);
|
||||
if (r < 0 && !IN_SET(r, -ENOENT, -ESOCKTNOSUPPORT))
|
||||
@@ -1045,7 +1044,6 @@ static int bus_start_address(sd_bus *b) {
|
||||
r = bus_socket_connect(b);
|
||||
else
|
||||
skipped = true;
|
||||
|
||||
} else
|
||||
skipped = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user