diff options
author | Peter Palfrader <peter@palfrader.org> | 2016-01-12 14:13:25 +0100 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2016-01-12 14:13:25 +0100 |
commit | 9c292f48d4c4a28085684bb990a744590d807ec1 (patch) | |
tree | 7c0a0b2d31cccb5c688b99d795b8c6392652fde9 | |
parent | 99480c190ede444c983b674546528dbeb689b4c7 (diff) |
Put start date into the extended trace
-rwxr-xr-x | bin/ftpsync | 2 |
1 files changed, 2 insertions, 0 deletions
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. # ######################################################################## |