[icinga-checkins] icinga.org: icinga-core/hpatel/core: execv diff adjustments

git at icinga.org git at icinga.org
Thu May 27 12:46:14 CEST 2010


Module: icinga-core
Branch: hpatel/core
Commit: 9597630295561cc2f382e80139127d981930fc8c
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=9597630295561cc2f382e80139127d981930fc8c

Author: hirenp <hirenp at firebird.(none)>
Date:   Thu May 27 12:45:11 2010 +0200

execv diff adjustments

---

 base/checks.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/base/checks.c b/base/checks.c
index 22da0d0..88af7ac 100644
--- a/base/checks.c
+++ b/base/checks.c
@@ -859,7 +859,7 @@ int run_async_service_check(service *svc, int check_options, double latency, int
 	
 	                fclose(chldfp);
 	                waitpid(pid,&chldstatus,0);
-	                pclose_result=WEXITSTATUS(chldstatus);
+	                pclose_result=chldstatus;
 	            }
 	            else{
 	                log_debug_info(DEBUGL_CHECKS,0,"running process %s via popen\n",processed_command);





More information about the icinga-checkins mailing list