Add missing OPT_REMOTE to commands

check, compact commands had OPT_REMOTE missing
This commit is contained in:
Clemens Schwaighofer
2023-05-10 16:30:23 +09:00
parent 72f3f86eb6
commit beffbee20c
3 changed files with 7 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ if [ $(version $BORG_VERSION) -ge $(version "1.2.0") ]; then
# reset to normal IFS, so command works here
IFS=${_IFS};
printf "${PRINTF_SUB_BLOCK}" "COMPACT" "$(date +'%F %T')" "${MODULE}";
BORG_COMPACT="${BORG_COMMAND} compact -v ${OPT_PROGRESS} ${REPOSITORY}";
BORG_COMPACT="${BORG_COMMAND} compact ${OPT_REMOTE} -v ${OPT_PROGRESS} ${REPOSITORY}";
if [ ${DEBUG} -eq 1 ]; then
echo "${BORG_COMPACT}";
fi;