From: 0x0916 Date: Mon, 8 May 2017 13:06:21 +0000 (+0800) Subject: fix the wrong exit status X-Git-Tag: lxc-2.1.0~140 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fd8b8a785d8014935c3a90c67ba3b8798c5407b;p=thirdparty%2Flxc.git fix the wrong exit status Signed-off-by: 0x0916 --- 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); }