richard: server/perl-kolab/sbin kolabconf.in,1.2,1.3

cvs at kolab.org cvs at kolab.org
Tue Nov 24 19:45:00 CET 2009


Author: richard

Update of /kolabrepository/server/perl-kolab/sbin
In directory doto:/tmp/cvs-serv14677/sbin

Modified Files:
	kolabconf.in 
Log Message:
Renamed variable do_reload to $Kolab::do_reload, to make it a global variable.
This is needed to solve kolab/issue3951: kolabconf -n (noreload) restarts
services if RUNONCHANGE is used



Index: kolabconf.in
===================================================================
RCS file: /kolabrepository/server/perl-kolab/sbin/kolabconf.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- kolabconf.in	20 Jan 2009 17:22:12 -0000	1.2
+++ kolabconf.in	24 Nov 2009 18:44:58 -0000	1.3
@@ -93,9 +93,9 @@
     exit 0;
 }
 
-my $do_reload = 1;
+$Kolab::do_reload = 1;
 if($opt_n) {
-    $do_reload = 0;
+    $Kolab::do_reload = 0;
 }
 
 if( !$Kolab::reloadOk ) {
@@ -109,8 +109,9 @@
 Kolab::Conf::rebuildTemplates;
 Kolab::log('KC', 'Reloading kolab components');
 
-if( $do_reload ) {
+if( $Kolab::do_reload ) {
     Kolab::Conf::reload;
 }
 
 Kolab::log('KC', 'Finished');
+





More information about the commits mailing list