The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc/pull/1542

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: 0x0916 <[email protected]>
From 13110a68eaa22f40cd17955bff713acab95cc119 Mon Sep 17 00:00:00 2001
From: 0x0916 <[email protected]>
Date: Mon, 8 May 2017 21:06:21 +0800
Subject: [PATCH] fix the wrong exit status

Signed-off-by: 0x0916 <[email protected]>
---
 src/lxc/tools/lxc_top.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lxc/tools/lxc_top.c b/src/lxc/tools/lxc_top.c
index 593f9f1..7f3ae4f 100644
--- a/src/lxc/tools/lxc_top.c
+++ b/src/lxc/tools/lxc_top.c
@@ -555,5 +555,5 @@ int main(int argc, char *argv[])
 err1:
        lxc_mainloop_close(&descr);
 out:
-       exit(EXIT_FAILURE);
+       exit(ret);
 }
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to