From f95d509d2e40ad4e707dfa102b478beff865a477 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Wed, 27 Mar 2013 13:39:14 +0400 Subject: [PATCH] sk-unix: Don't zap error returned If error happened during queue read don't zap it. Signed-off-by: Cyrill Gorcunov Signed-off-by: Pavel Emelyanov --- sk-unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sk-unix.c b/sk-unix.c index 529d9602f..9748489fc 100644 --- a/sk-unix.c +++ b/sk-unix.c @@ -806,7 +806,7 @@ int collect_unix_sockets(void) if (!ret) ret = read_sk_queues(); - return 0; + return ret; } int resolve_unix_peers(void)