From 753e9fe8640a99c8cdcd78bc4d4a6f430c88c702 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 3 May 2008 13:44:27 +0200 Subject: [PATCH] Seems more correct to use the start time we saved in for the cron mail --- config/debian/cron.dinstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 4e3befb7..cd22bd25 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -258,7 +258,7 @@ TS=$(($TS+1)); echo Archive maintenance timestamp $TS: $(date +%X) echo "Finally, all is done, sending mail and compressing logfile" exec > /dev/null 2>&1 -cat "$LOGFILE" | mail -s "Log for dinstall run of $(date +%Y.%m.%d' at '%H:%M)" cron@ftp-master.debian.org +cat "$LOGFILE" | mail -s "Log for dinstall run of ${NOW}" cron@ftp-master.debian.org bzip2 -9 "$LOGFILE" ################################################################################ -- 2.39.5