mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 15:10:33 +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