fix that no borg backups variables are showen

This commit is contained in:
2022-09-27 18:17:14 +02:00
parent 6d57ea4973
commit f8ae4086ef
+1 -1
View File
@@ -41,7 +41,7 @@ function check_pfSense_optional_vars() {
function check_borg_backup_vars() {
local errors=0
if [ ! -z "$BORG_BACKUP_TRUE" ]; then
if [ -z "$BORG_BACKUP_TRUE" ]; then
if [ "$BORG_REPO" ]; then echo "Musst provice BORG_REPO"; errors=$(($errors + 1)); fi
if [ "$BORG_CREATE_PARAMS" ]; then echo "Musst provice BORG_CREATE_PARAMS"; errors=$(($errors + 1)); fi
if [ "$BORG_PRUNE_PARAMS" ]; then echo "Musst provice BORG_PRUNE_PARAMS"; errors=$(($errors + 1)); fi