add more sepurators to output

This commit is contained in:
2022-09-27 21:14:18 +02:00
parent 58010d18ae
commit 68bc4dd596
3 changed files with 4 additions and 1 deletions
+1
View File
@@ -5,4 +5,5 @@ source "/scripts/functions.sh"
url=${PFSENSE_SCHEME}://${PFSENSE_IP}
timestamp=$(date +%Y%m%d%H%M%S)
sepurator
run_backups
+2
View File
@@ -28,9 +28,11 @@ if [ $cron -eq 1 ]; then
if [ -z "$FROM_CRON" ]; then
load_crontab_when_exists_or_create
else
sepurator
run_backups
cleanup_old_backups_when_set
fi
else
sepurator
run_backups
fi
+1 -1
View File
@@ -38,7 +38,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