borg_exporter: fix support for REPO_BASE
This commit is contained in:
parent
5abb44bebf
commit
d5737e487b
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ PROM_FILE=$TEXTFILE_COLLECTOR_DIR/backup.prom
|
||||||
TMP_FILE=$PROM_FILE.$$
|
TMP_FILE=$PROM_FILE.$$
|
||||||
|
|
||||||
if [[ -n "$REPO_BASE" ]] ; then
|
if [[ -n "$REPO_BASE" ]] ; then
|
||||||
REPOS+=("$REPO_BASE")
|
REPO_BASES+=("$REPO_BASE")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for repo_base in "${REPO_BASES[@]}"; do
|
for repo_base in "${REPO_BASES[@]}"; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue