summaryrefslogtreecommitdiff
path: root/publish-purge
diff options
context:
space:
mode:
Diffstat (limited to 'publish-purge')
-rwxr-xr-xpublish-purge4
1 files changed, 2 insertions, 2 deletions
diff --git a/publish-purge b/publish-purge
index 77a4156..d5beddd 100755
--- a/publish-purge
+++ b/publish-purge
@@ -38,7 +38,7 @@ test_if_ancient()
tod="$(($mtime + 3600*24*$ttl))"
now="$(date +%s)"
- [ "$optVerbose" -ge "2" ] && echo " Considering $d: ttl=$ttl, mod time=$mtime, time of death=$tod, now=$now"
+ [ "$optVerbose" -ge "2" ] && echo "Considering $d: ttl=$ttl, mod time=$mtime, time of death=$tod, now=$now"
[ "$tod" -lt "$now" ] && return 0
return 1
@@ -55,7 +55,7 @@ cleanit()
fi
if test_if_ancient "$d" "$ttl"; then
- [ "$optVerbose" -ge "1" ] && echo "Purging: $d"
+ [ "$optVerbose" -ge "1" ] && echo "- Purging: $d"
[ "$optDonot" = "1" ] || rm -rf "$d"
fi
return 0