summaryrefslogtreecommitdiff
path: root/lastBackups.in
diff options
context:
space:
mode:
Diffstat (limited to 'lastBackups.in')
-rwxr-xr-xlastBackups.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/lastBackups.in b/lastBackups.in
index ef742cd..9f0d3e8 100755
--- a/lastBackups.in
+++ b/lastBackups.in
@@ -61,7 +61,12 @@ do
if [ ! -d "${dest}/${lbu}" ]
then
veraltet[${#veraltet[@]}]="LEER!"
- elif [ ${delta} -gt ${outdatedLimit} ]
+ elif [ ${delta} -gt ${outdatedLimit} ] && \
+ ! printf '%s\n' "${seldomBackups[@]}" | \
+ grep -qxF "${backupID}"
+ then
+ veraltet[${#veraltet[@]}]="VERALTET!"
+ elif [ ${delta} -gt ${outdatedSeldomLimit} ]
then
veraltet[${#veraltet[@]}]="VERALTET!"
else