Code

bugfix: trigger_action_reinstall error setting
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Mar 2008 12:36:48 +0000 (12:36 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 14 Mar 2008 12:36:48 +0000 (12:36 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9835 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index d403d37202c4b1a5c13c4a26ae7f13d5c2de9e59..2d13fb1c5376fb9f0c763db2d8fe2d0cf712297d 100755 (executable)
@@ -919,10 +919,12 @@ sub update_jobdb_status_for_send_msgs {
             
         # sending msg faild
         if( $error ) {
+            if (not $answer =~ /<header>trigger_action_reinstall<\/header>/) {
                 my $sql_statement = "UPDATE $job_queue_tn ".
                     "SET status='error', result='can not deliver msg, please consult log file' ".
                     "WHERE id='$jobdb_id'";
                 my $res = $job_db->update_dbentry($sql_statement);
+            }
 
         # sending msg was successful
         } else {