From a10e965003ee165b8f182d8141d1c67f42522d35 Mon Sep 17 00:00:00 2001
From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch>
Date: Thu, 23 Mar 2023 11:20:41 +0100
Subject: [PATCH] fix that rc error comes twice

---
 classes/cronlog-renderer.class.php | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/classes/cronlog-renderer.class.php b/classes/cronlog-renderer.class.php
index e2cf5e2..c2c6362 100644
--- a/classes/cronlog-renderer.class.php
+++ b/classes/cronlog-renderer.class.php
@@ -170,10 +170,6 @@ class cronlogrenderer extends cronlog{
                     sprintf($this->t('error-exitcode-label'), (int)$aEntry['SCRIPTRC']),
                     $this->t('error-exitcode-description'),
                 ];
-                $aErrors[]=[
-                    'Exitcode '.(int)$aEntry['SCRIPTRC'].' (<>0)',
-                    'The command finished with a non error status'
-                ];
             }
             if(!$aEntry['SCRIPTLABEL']){
                 $aErrors[]=[
-- 
GitLab