diff options
author | tv <tv@krebsco.de> | 2020-09-15 21:41:26 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2020-09-15 21:41:26 +0200 |
commit | 780808d284b690866b876e1ed2da3bd50369457e (patch) | |
tree | 146005a2bf57bc8df71fa84ec8a60ff4675e5950 | |
parent | 5dfc1e08605b5b934d83b87d39af896c0fab08db (diff) |
-rwxr-xr-x | htgen | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -26,7 +26,9 @@ case $action in HTGEN_SCRIPT=${HTGEN_SCRIPT-:} HTGEN_VERBOSE=$verbose; export HTGEN_VERBOSE TCPSERVER_OPTS='-c 423 -t 2 -D' - echo "#### $Server $HTGEN_HOST:$HTGEN_PORT" >&2 + if test "$HTGEN_VERBOSE" = true; then + echo "#### $Server $HTGEN_HOST:$HTGEN_PORT" >&2 + fi exec tcpserver $TCPSERVER_OPTS "$HTGEN_HOST" "$HTGEN_PORT" "$0" ;; *) @@ -106,7 +108,9 @@ while read -r line; do done unset k v -echo >&2 +if test "$HTGEN_VERBOSE" = true; then + echo >&2 +fi ## }}} eval "$HTGEN_SCRIPT" |