Skip to content
Snippets Groups Projects

allow empty perfdata

Merged Hahn Axel (hahn) requested to merge react-on-pipe-in-output into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -370,7 +370,7 @@ function processCheck(){
# echo -------- extracted performance data:
# echo $outPerfdata
# echo
if ! echo "$outPerfdata" | grep "=[0-9\.]*;[0-9\.]*;[0-9\.]*;[0-9\.]*;" >/dev/null; then
if ! test -n "$outPerfdata" && echo "$outPerfdata" | grep "=[0-9\.]*;[0-9\.]*;[0-9\.]*;[0-9\.]*;" >/dev/null; then
_elog "ABORT - this does not look like performance data: $outPerfdata"
exit 1
fi
Loading