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

git at icinga.org git at icinga.org
Thu May 27 12:51:15 CEST 2010


Module: icinga-core
Branch: mfriedrich/core
Commit: 879abc81297ea5de72cce8c532a7434ecdc61f8b
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=879abc81297ea5de72cce8c532a7434ecdc61f8b

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