mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 01:27:11 +03:00
bus: fix error-path in bus_map_all_properties()
We shouldn't return positive integers on errors. Fix the typo by removing the negation.
This commit is contained in:
parent
d7726e578a
commit
6c1508b871
@ -919,7 +919,7 @@ int bus_map_all_properties(sd_bus *bus,
|
||||
} else {
|
||||
r = sd_bus_message_skip(m, "v");
|
||||
if (r < 0)
|
||||
return -r;
|
||||
return r;
|
||||
}
|
||||
|
||||
r = sd_bus_message_exit_container(m);
|
||||
|
Loading…
Reference in New Issue
Block a user