From a35a49dde96188e5f1351b51276872c4131625b0 Mon Sep 17 00:00:00 2001 From: Christoph Date: Wed, 10 Jul 2024 01:05:05 +0200 Subject: [PATCH] borg-backup.sh,borg-backup-nc.sh: minor change on script output. --- borg-backup-nc.sh | 4 +++- borg-backup.sh | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/borg-backup-nc.sh b/borg-backup-nc.sh index 3997a60..6e72934 100755 --- a/borg-backup-nc.sh +++ b/borg-backup-nc.sh @@ -689,7 +689,9 @@ echo -e "\n\n###### Server backup finished on ${endDateReadable} (${durationRead # Send Summery # -echo -e -n " Send Summary.." +if $terminal ; then + echo -e -n " Send Summary.." +fi datum="$(date +"%d.%m.%Y %H:%M")" diff --git a/borg-backup.sh b/borg-backup.sh index 351c19f..5f8b0b8 100755 --- a/borg-backup.sh +++ b/borg-backup.sh @@ -656,7 +656,9 @@ echo -e "\n\n###### Server backup finished on ${endDateReadable} (${durationRead # Send Summery # -echo -e -n " Send Summary.." +if $terminal ; then + echo -e -n " Send Summary.." +fi datum="$(date +"%d.%m.%Y %H:%M")"