contrib/obs-mirror: log DRY var in rm script

Related: SYS#5764
Change-Id: I705e52030d538e6d86c72f2bccb0eb97e6dab1de
This commit is contained in:
Oliver Smith 2021-12-17 19:11:34 +01:00
parent 37ab6b5078
commit f7ae778fa2
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ DRY=0
# Get removal date in seconds since epoch and display it
DATE_RM_SEC=$(expr $(date +%s) - 3600 \* 24 \* 32)
DATE_RM_STR=$(date -d "@$DATE_RM_SEC" +"%Y-%m-%d")
echo "Removing nightly archives from $DATE_RM_STR and older"
echo "Removing nightly archives from $DATE_RM_STR and older (DRY=$DRY)"
cd /downloads/obs-mirror