summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-04-13 15:13:06 +0200
committertv <tv@krebsco.de>2017-04-13 16:27:04 +0200
commit446547bbeca02e26a72b5dfaa4af69fa534caaa3 (patch)
treea0d8ea8840e43f474c52bd7a61dd02a5be55e350
parent1e2482d4b5d8845fb92b28b6edd1836fd7a651c0 (diff)
date: "`...`" -> $()v1.21.2
-rwxr-xr-xhtgen3
1 files changed, 1 insertions, 2 deletions
diff --git a/htgen b/htgen
index 725332e..ce367ca 100755
--- a/htgen
+++ b/htgen
@@ -33,8 +33,7 @@ EOF
## }}}
## date. {{{
-#date=`date --rfc-3339=ns`
-date="`date '+%Y-%m-%d %H:%M:%S'`"
+date=$(date '+%Y-%m-%d %H:%M:%S')
cat>&2<<EOF
# ${TCPREMOTEHOST-}[$TCPREMOTEIP]:$TCPREMOTEPORT connected at $date over $PROTO