From a1c9e1f5555d58719aff7c71b23b07bce47aba0a Mon Sep 17 00:00:00 2001 From: pivaldi Date: Thu, 6 Sep 2018 15:46:09 +0200 Subject: [PATCH] Fix mv command on the exporter --- borg_exporter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg_exporter.sh b/borg_exporter.sh index 2ba8968..91ebd54 100755 --- a/borg_exporter.sh +++ b/borg_exporter.sh @@ -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