From: rettenbe Date: Tue, 23 Sep 2008 08:56:45 +0000 (+0000) Subject: update: si-server stop if core modules could not be loaded X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5a7e848dc439b848c09f9c623abe90814222e2b8;p=gosa.git update: si-server stop if core modules could not be loaded git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@12537 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 7e9e0a9ee..f59c48928 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -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