Code

softwareupdate and reinstall are no longer reported as 'error'-jobs if msg could...
authorrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 Nov 2008 17:33:07 +0000 (17:33 +0000)
committerrettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 3 Nov 2008 17:33:07 +0000 (17:33 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12887 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-server

index 9c0c9776b202582cb7dcea01c9d78b809effef08..bd0f72f218851a9461ef8fdeb01e5656ba326f03 100755 (executable)
@@ -1010,7 +1010,7 @@ sub update_jobdb_status_for_send_msgs {
             
         # sending msg faild
         if( $error ) {
-            if (not $answer =~ /<header>trigger_action_reinstall<\/header>/) {
+            if ((not $answer =~ /<header>trigger_action_reinstall<\/header>/) || (not $answer =~ /<header>trigger_action_update<\/header>/)) {
                 my $sql_statement = "UPDATE $job_queue_tn ".
                     "SET status='error', result='can not deliver msg, please consult log file' ".
                     "WHERE id=$jobdb_id";