aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-12-17 19:11:34 +0100
committerlaforge <laforge@osmocom.org>2021-12-20 13:35:19 +0000
commit958224ea625bc78d51cdebc0a6a8e88a184a0fd1 (patch)
treecb78dec1e12d33f4104cc74f8bd69a8558adc6f4
parent9b694744eaa2bbf2ee967adb94b972187cdc61ad (diff)
contrib/obs-mirror: log DRY var in rm script
-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