summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2016-01-12 14:13:25 +0100
committerPeter Palfrader <peter@palfrader.org>2016-01-12 14:13:25 +0100
commit9c292f48d4c4a28085684bb990a744590d807ec1 (patch)
tree7c0a0b2d31cccb5c688b99d795b8c6392652fde9
parent99480c190ede444c983b674546528dbeb689b4c7 (diff)
Put start date into the extended trace
-rwxr-xr-xbin/ftpsync2
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. #
########################################################################