From 99fc2578b42af9d37d7d79f35c4ed58603aaa39d Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 9 Sep 2008 15:46:46 +0000 Subject: [PATCH] Return if re-queued. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12382 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/server/events/gosaTriggered.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/gosa-si/server/events/gosaTriggered.pm b/gosa-si/server/events/gosaTriggered.pm index 16bfcee52..fd8544cfc 100644 --- a/gosa-si/server/events/gosaTriggered.pm +++ b/gosa-si/server/events/gosaTriggered.pm @@ -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); } -- 2.30.2