Fix mv command on the exporter

This commit is contained in:
pivaldi 2018-09-06 15:46:09 +02:00
parent 86479b3354
commit a1c9e1f555

View file

@ -69,4 +69,4 @@ echo "borg_total_size{host=\"${HOSTNAME}\"} $TOTAL_SIZE" >> $TMP_FILE
echo "borg_total_size_compressed{host=\"${HOSTNAME}\"} $TOTAL_SIZE_COMPRESSED" >> $TMP_FILE
echo "borg_total_size_dedup{host=\"${HOSTNAME}\"} $TOTAL_SIZE_DEDUP" >> $TMP_FILE
mv $TMP_FILE $PROM_FILE
mv -f $TMP_FILE $PROM_FILE