aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-12-17 19:11:34 +0100
committerOliver Smith <osmith@sysmocom.de>2021-12-17 19:11:34 +0100
commitf7ae778fa2543996922e6bad2e939df57e5c514d (patch)
tree59579f10543b18b1ce1fd0cd9174a4c9e520302d
parent37ab6b50785630a8132de575c452cf90bb218a22 (diff)
contrib/obs-mirror: log DRY var in rm scriptosmith/obs-mirror
-rwxr-xr-xcontrib/obs-mirror/rm-old-nightly-archives.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/obs-mirror/rm-old-nightly-archives.sh b/contrib/obs-mirror/rm-old-nightly-archives.sh
index e28bce1..485bf01 100755
--- a/contrib/obs-mirror/rm-old-nightly-archives.sh
+++ b/contrib/obs-mirror/rm-old-nightly-archives.sh
@@ -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