Browse Source

Correct timestamp in protocol debug.

Inadvertently duplicated seconds & truncated fraction.
pull/289/head
Timothe Litt 9 years ago
parent
commit
676e2cc72d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      dns_scripts/dns_godaddy

+ 1
- 1
dns_scripts/dns_godaddy View File

@ -187,7 +187,7 @@ fi
authhdr="Authorization: sso-key $GODADDY_KEY:$GODADDY_SECRET"
if [ -n "$TRACE" ]; then
function timestamp { local tm="`date '+%T:%S%N'`"
function timestamp { local tm="`LC_TIME=C date '+%T.%N'`"
local class="$1"; shift
echo "${tm:0:15} ** ${class}: $*" >>"$TRACE"
}


Loading…
Cancel
Save