[icinga-checkins] icinga.org: icinga-core/cmaser/fixes: classic ui: remove check_daemon_running, remains useless

git at icinga.org git at icinga.org
Fri Jul 30 22:45:49 CEST 2010


Module: icinga-core
Branch: cmaser/fixes
Commit: e20b2b271df36b1b6d509495328cd06421e2f353
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=e20b2b271df36b1b6d509495328cd06421e2f353

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Jul 28 20:59:55 2010 +0200

classic ui: remove check_daemon_running, remains useless

fixes #549

---

 Changelog      |    1 +
 cgi/cgiutils.c |    6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/Changelog b/Changelog
index bbff818..5d30a74 100644
--- a/Changelog
+++ b/Changelog
@@ -15,6 +15,7 @@ FIXES
 * core: fix wrong is_volatile conditions causing wrong service alerts in the logs
 
 * classic ui: fix image urls ins stylesheets
+* classic ui: remove check_daemon_running, remains useless
 
 * install: fix api not installed using make install-unstripped
 * install: enable debuginfo in spec file
diff --git a/cgi/cgiutils.c b/cgi/cgiutils.c
index decef80..76e018b 100644
--- a/cgi/cgiutils.c
+++ b/cgi/cgiutils.c
@@ -598,10 +598,16 @@ int read_all_status_data(char *config_file,int options){
 	if(options & READ_SERVICE_STATUS)
 		service_status_has_been_read=TRUE;
 
+	/*
+	  2010-07-28 Michael Friedrich: removed for now,
+	  it only brought problems, benefit was zero
+	*/
         /* return error if daemon is not running */
+	/*
         if(check_daemon_running()==ERROR) {
                 return ERROR;
         }
+	*/
 
 	return result;
         }





More information about the icinga-checkins mailing list