Skip to content
Snippets Groups Projects
Commit 7fd31cf6 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

remove color code

parent 48b673f4
No related branches found
No related tags found
1 merge request!262remove color code
...@@ -97,7 +97,7 @@ else ...@@ -97,7 +97,7 @@ else
ph.setStatus "ok" ph.setStatus "ok"
fi fi
ph.status Cronjob status $( echo "$out" | tail -1 ) 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 '|' ':' echo "$out" | sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g" | tr '|' ':'
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment