Code

update: si-server stop if core modules could not be loaded
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Sep 2008 08:56:45 +0000 (08:56 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Sep 2008 08:56:45 +0000 (08:56 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12537 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index 7e9e0a9ee582fac7ad97edb2905395b4ff914ba1..f59c489280b8515cac73471398d74f870a88ccaf 100755 (executable)
@@ -450,7 +450,8 @@ sub import_modules {
         eval { require $file; };
         if ($@) {
             daemon_log("0 ERROR: gosa-si-server could not load module $file", 1);
-            daemon_log("$@", 5);
+            daemon_log("$@", 1);
+           exit;
                } else {
                        my $info = eval($mod_name.'::get_module_info()');
                        # Only load module if get_module_info() returns a non-null object