summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b0f4b5b)
raw | patch | inline | side by side (parent: b0f4b5b)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Jan 2008 17:09:21 +0000 (17:09 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 30 Jan 2008 17:09:21 +0000 (17:09 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8682 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 96aea80fcc24204fccfef7c733c59cc99c85d042..2a0fafabfc34639ac59a42ba5b9c34ed104cb321 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
if (not $file =~ /(\S*?).pm$/) {
next;
}
+ my $mod_name = $1;
if( $file =~ /ArpHandler.pm/ ) {
if( $no_arp > 0 ) {
if ($@) {
daemon_log("ERROR: gosa-si-server could not load module $file", 1);
daemon_log("$@", 5);
- }
- else {
- my $mod_name = $1;
+ } else {
my $info = eval($mod_name.'::get_module_info()');
# Only load module if get_module_info() returns a non-null object
if(defined($info)) {