[CRIU] [PATCH] sk-unix: Don't zap error returned

Cyrill Gorcunov gorcunov at openvz.org
Wed Mar 27 04:57:08 EDT 2013


If error happened during queue read don't zap it.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 sk-unix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sk-unix.c b/sk-unix.c
index eb22763..eb424fa 100644
--- a/sk-unix.c
+++ b/sk-unix.c
@@ -808,7 +808,7 @@ int collect_unix_sockets(void)
 	if (!ret)
 		ret = read_sk_queues();
 
-	return 0;
+	return ret;
 }
 
 int resolve_unix_peers(void)
-- 
1.8.1.4



More information about the CRIU mailing list