From 7fd31cf6b75eac224e74797250efb20942d9bd2a Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@unibe.ch> Date: Thu, 25 Apr 2024 11:37:58 +0200 Subject: [PATCH] remove color code --- check_cronstatus | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_cronstatus b/check_cronstatus index 15b6246..e904cc1 100755 --- a/check_cronstatus +++ b/check_cronstatus @@ -97,7 +97,7 @@ else ph.setStatus "ok" fi ph.status Cronjob status $( echo "$out" | tail -1 ) - $statusScript -s + $statusScript -s | sed "s#\[0m##g" echo "$out" | sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g" | tr '|' ':' fi -- GitLab