Code

Return if re-queued.
authorjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Sep 2008 15:46:46 +0000 (15:46 +0000)
committerjanw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 9 Sep 2008 15:46:46 +0000 (15:46 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12382 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/server/events/gosaTriggered.pm

index 16bfcee52d45fb8dcf52d814b02ccd97ea951bbf..fd8544cfc5d37d8a0fac747b71626c479f399d60 100644 (file)
@@ -897,6 +897,7 @@ sub trigger_activate_new {
                        # $ldap_entry->dn("cn=$mac,$base");
                        &main::daemon_log("WARNING: No System with mac address '$mac' was found in base '".$main::ldap_base."'! Re-queuing job.", 4);
                        $main::job_db->exec_statement("UPDATE jobs SET status = 'waiting', timestamp = '".&get_time()."' WHERE id = $jobdb_id");
+            return;
                } else {
                        &main::daemon_log("ERROR: More than one system with mac address '$mac' was found in base '".$main::ldap_base."'!", 1);
                }