File 0001-bus-proxyd-fix-incorrect-comparison.patch of Package systemd

Based on e05aa2e02ba35d8b3741dddb79af3c802308414b Mon Sep 17 00:00:00 2001
From: Lukas Nykryn <lnykryn@redhat.com>
Date: Fri, 25 Jul 2014 10:25:06 +0200
Subject: [PATCH] bus-proxyd: fix incorrect comparison

We should be interested in k variable.
---
 src/bus-proxyd/bus-proxyd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- src/bus-proxyd/bus-proxyd.c
+++ src/bus-proxyd/bus-proxyd.c	2014-07-28 09:37:29.274735818 +0000
@@ -698,7 +698,7 @@ int main(int argc, char *argv[]) {
 
                                 k = sd_bus_send(a, m, NULL);
                                 if (k < 0) {
-                                        if (r == -ECONNRESET)
+                                        if (k == -ECONNRESET)
                                                 r = 0;
                                         else {
                                                 r = k;