From f8659e9a806143afe8770ab28c51a75593d433ba Mon Sep 17 00:00:00 2001 From: taoky Date: Fri, 23 Aug 2024 15:53:00 +0800 Subject: [PATCH] tsumugu: Fix UA bug when DEBUG=1 --- tsumugu/sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsumugu/sync.sh b/tsumugu/sync.sh index 01942fe..9a2223d 100755 --- a/tsumugu/sync.sh +++ b/tsumugu/sync.sh @@ -21,7 +21,7 @@ BIND_ADDRESS=${BIND_ADDRESS:-} TSUMUGU_MAXDELETE=${TSUMUGU_MAXDELETE:-1000} TSUMUGU_TIMEZONEFILE=${TSUMUGU_TIMEZONEFILE:-} TSUMUGU_EXCLUDE=${TSUMUGU_EXCLUDE:-} -TSUMUGU_USERAGENT=${TSUMUGU_USERAGENT:-"Tsumugu HTTP Syncing Tool/"$(tsumugu --version | cut -d' ' -f2)} +TSUMUGU_USERAGENT=${TSUMUGU_USERAGENT:-"Tsumugu HTTP Syncing Tool/"$(tsumugu --version | tail -n1 | cut -d' ' -f2)} TSUMUGU_PARSER=${TSUMUGU_PARSER:-"nginx"} TSUMUGU_THREADS=${TSUMUGU_THREADS:-"2"} TSUMUGU_EXTRA=${TSUMUGU_EXTRA:-}