steffen: server/kolab/kolab kolabconf,1.5,1.6

cvs at intevation.de cvs at intevation.de
Tue Aug 10 00:00:43 CEST 2004


Author: steffen

Update of /kolabrepository/server/kolab/kolab
In directory doto:/tmp/cvs-serv26677/kolab/kolab

Modified Files:
	kolabconf 
Log Message:
issue error when kolabconf cant build a configuration

Index: kolabconf
===================================================================
RCS file: /kolabrepository/server/kolab/kolab/kolabconf,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- kolabconf	12 Jul 2004 12:52:36 -0000	1.5
+++ kolabconf	9 Aug 2004 22:00:37 -0000	1.6
@@ -70,6 +70,12 @@
 warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 ';
 
+if( !$Kolab::reloadOk ) {
+  my $msg = "Error loading configuration. Please check the system log for errors.";
+  print STDERR "$msg\n";
+  Kolab::log('KC', $msg);
+  exit(-1);
+}
 Kolab::log('KC', 'Rebuilding templates');
 Kolab::Conf::rebuildTemplates;
 Kolab::log('KC', 'Reloading kolab components');





More information about the commits mailing list