Fix mv command on the exporter
This commit is contained in:
parent
86479b3354
commit
a1c9e1f555
1 changed files with 1 additions and 1 deletions
|
@ -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_compressed{host=\"${HOSTNAME}\"} $TOTAL_SIZE_COMPRESSED" >> $TMP_FILE
|
||||||
echo "borg_total_size_dedup{host=\"${HOSTNAME}\"} $TOTAL_SIZE_DEDUP" >> $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
|
||||||
|
|
Loading…
Reference in a new issue