From 5a7e848dc439b848c09f9c623abe90814222e2b8 Mon Sep 17 00:00:00 2001 From: rettenbe Date: Tue, 23 Sep 2008 08:56:45 +0000 Subject: [PATCH] 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 --- gosa-si/gosa-si-server | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.30.2