From 9fd8b8a785d8014935c3a90c67ba3b8798c5407b Mon Sep 17 00:00:00 2001 From: 0x0916 Date: Mon, 8 May 2017 21:06:21 +0800 Subject: [PATCH] fix the wrong exit status Signed-off-by: 0x0916 --- 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 593f9f125..7f3ae4fb7 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); }