Skip to content
Snippets Groups Projects

sed removed the pipe before perf data too

Merged Hahn Axel (hahn) requested to merge 6072-fix-shell-warnings into master
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
+ 3
2
@@ -16,11 +16,12 @@
# 2022-03-04 v0.9 ah abort on http 5xx error
# 2022-03-14 v0.10 ah less output and add _elog to run as a service
# 2022-07-08 v0.11 ah check pipes in output and performance data
# 2023-01-30 v0.12 ah remove pipes with sed remove the pipe before performancedata
# ======================================================================
_product="ICINGA PASSIVE CLIENT"
_version="0.11"
_version="0.12"
_license="GNU GPL 3.0"
_copyright='(c) 2020 Institute for Medical Education * University of Bern'
@@ -366,7 +367,7 @@ function processCheck(){
_elog "command was: $myFullscript $myparams"
_log "${_logPrefix} WARNING - pipes were found in plugin output"
fi
sed -i "s#|#:#g" "$_outfile"
# sed -i "s#|#:#g" "$_outfile"
_echo
# echo -------- extracted performance data:
Loading