From 88ac5631f249f01fbacc3b84688e3384cda7a4eb Mon Sep 17 00:00:00 2001 From: brarcher Date: Tue, 17 Dec 2013 22:12:28 +0000 Subject: [PATCH] check_run: add parenthesis git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@897 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- src/check_run.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/check_run.c b/src/check_run.c index 3b5d99b..9b83954 100644 --- a/src/check_run.c +++ b/src/check_run.c @@ -528,9 +528,13 @@ static void set_fork_info (TestResult *tr, int status, int signal_expected, unsi } tr->msg = exit_msg(exit_status); if (exit_status == allowed_exit_value) - tr->rtype = CK_FAILURE; /* normal exit status */ + { + tr->rtype = CK_FAILURE; /* normal exit status */ + } else - tr->rtype = CK_FAILURE; /* early exit */ + { + tr->rtype = CK_FAILURE; /* early exit */ + } } } } -- 2.40.0