summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 48273d6)
raw | patch | inline | side by side (parent: 48273d6)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Aug 2008 12:40:47 +0000 (12:40 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 4 Aug 2008 12:40:47 +0000 (12:40 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12137 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history | |
gosa-si/modules/GosaSupportDaemon.pm | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 2f224016e2d92408e090ab500892eb190d773533..1a79a57830bfb44b6138d1da1a439bcf9d7800b8 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
}
-#=== FUNCTION ================================================================
-# NAME: read_configfile
-# PARAMETERS: cfg_file - string -
-# RETURNS: nothing
-# DESCRIPTION: read cfg_file and set variables
-#===============================================================================
-#sub read_configfile {
-# my $cfg;
-# if( defined( $cfg_file) && ( (-s $cfg_file) > 0 )) {
-# if( -r $cfg_file ) {
-# $cfg = Config::IniFiles->new( -file => $cfg_file );
-# } else {
-# print STDERR "Couldn't read config file!\n";
-# }
-# } else {
-# $cfg = Config::IniFiles->new() ;
-# }
-# foreach my $section (keys %cfg_defaults) {
-# foreach my $param (keys %{$cfg_defaults{ $section }}) {
-# my $pinfo = $cfg_defaults{ $section }{ $param };
-# ${@$pinfo[ 0 ]} = $cfg->val( $section, $param, @$pinfo[ 1 ] );
-# }
-# }
-#}
-
-
#=== FUNCTION ================================================================
# NAME: logging
# PARAMETERS: level - string - default 'info'
index 2427c8b7b7d8ae077026ba8daa9652b37bd254bb..f0998cfe37575eae466f6ec24a38c1df87ce7524 100644 (file)
eval{ require $event; };
if( $@ ) {
$error++;
- push(@result, "import of event module '$event' failed: $@");
- next;
+ #push(@result, "import of event module '$event' failed: $@");
+ #next;
+
+ &main::daemon_log("ERROR: Import of event module '$event' failed: $@",1);
+ exit(1);
}
# fetch all single events