[CRIU] [crtools-bot] show: Always print process' exit_code
Cyrill Gorcunov
gorcunov at openvz.org
Mon Jan 30 08:39:21 EST 2012
The commit is pushed to "master" and will appear on git://github.com/cyrillos/crtools.git
------>
commit ef57024410b2ab2a15c71641746e44967afffb94
Author: Cyrill Gorcunov <gorcunov at openvz.org>
Date: Mon Jan 30 17:07:45 2012 +0400
show: Always print process' exit_code
It's suitable not for info only but in debug purpose as well.
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
Acked-by: Pavel Emelyanov <xemul at openvz.org>
---
cr-show.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/cr-show.c b/cr-show.c
index 267380a..3136b24 100644
--- a/cr-show.c
+++ b/cr-show.c
@@ -402,9 +402,8 @@ static void show_core_rest(int fd_core)
(int)tc.task_state,
task_state_str((int)tc.task_state));
- if (tc.task_state == TASK_DEAD)
- pr_info("\t Exit code: %u\n",
- (unsigned int)tc.exit_code);
+ pr_info("\t Exit code: %u\n",
+ (unsigned int)tc.exit_code);
pr_info("\tBrk: %lx\n", tc.mm_brk);
pr_info("\tStart code: %lx\n", tc.mm_start_code);
More information about the CRIU
mailing list