mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-05 05:01:29 +00:00
bus-proxyd: fix incorrect comparison
We should be interested in k variable.
This commit is contained in:
@@ -1397,7 +1397,7 @@ int main(int argc, char *argv[]) {
|
||||
else {
|
||||
k = sd_bus_send(a, m, NULL);
|
||||
if (k < 0) {
|
||||
if (r == -ECONNRESET)
|
||||
if (k == -ECONNRESET)
|
||||
r = 0;
|
||||
else {
|
||||
r = k;
|
||||
|
||||
Reference in New Issue
Block a user