fix: line breaks in prometheus batch mode

This commit is contained in:
Jan Kunzmann 2018-06-08 11:52:02 +02:00
parent 5962d20ba7
commit 2652123fe1
1 changed files with 1 additions and 1 deletions

View File

@ -3111,7 +3111,7 @@ fi
if [ "$opt_batch" = 1 ] && [ "$opt_batch_format" = "prometheus" ]; then
echo "# TYPE specex_vuln_status untyped"
echo "# HELP specex_vuln_status Exposure of system to speculative execution vulnerabilities"
echo "$prometheus_output"
echo -e "$prometheus_output"
fi
# exit with the proper exit code