From 9c292f48d4c4a28085684bb990a744590d807ec1 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 12 Jan 2016 14:13:25 +0100 Subject: Put start date into the extended trace --- bin/ftpsync | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/ftpsync b/bin/ftpsync index cd6370f..e8aa021 100755 --- a/bin/ftpsync +++ b/bin/ftpsync @@ -192,6 +192,7 @@ tracefile() { if [[ date != ${EXTENDEDTRACE} ]]; then rfc822date=$(LC_ALL=POSIX LANG=POSIX date -u -R) echo "Date: ${rfc822date}" + echo "Date-Started: ${DATE_STARTED}" FILESOA=$(awk -F": " ' $1=="Archive serial" {print $2}' ${TO}/project/trace/master || echo unknown ) echo "Archive serial: ${FILESOA}" @@ -492,6 +493,7 @@ HOOK5=${HOOK5:-""} # Are we a hub? HUB=${HUB:-"false"} +DATE_STARTED=$(LC_ALL=POSIX LANG=POSIX date -u -R) ######################################################################## # Really nothing to see below here. Only code follows. # ######################################################################## -- cgit v1.2.3