Add newline

This commit is contained in:
phil 2023-12-02 22:03:25 +01:00
parent 09cf947078
commit 89fc555eb1

View file

@ -55,7 +55,5 @@ EOF
status=$(get_status_data) status=$(get_status_data)
printf '%s' "$status" >"$TMP_FILE" printf '%s' "$status" >"$TMP_FILE"
printf '\n' >> "$TMP_FILE"
mv "$TMP_FILE" "$PROM_FILE" mv "$TMP_FILE" "$PROM_FILE"
# The textfile collector needs a newline at the end of the file
echo >> "$PROM_FILE"