We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ddd03dd + 19a098a commit f2d2faaCopy full SHA for f2d2faa
tests/queries/shell_config.sh
@@ -214,7 +214,8 @@ function run_with_error()
214
return 0
215
}
216
217
-if [[ -n $CLICKHOUSE_BASH_TRACING_FILE ]]; then
+# BASH_XTRACEFD is supported only since 4.1
218
+if [[ -n $CLICKHOUSE_BASH_TRACING_FILE ]] && [[ ${BASH_VERSINFO[0]} -gt 4 || (${BASH_VERSINFO[0]} -eq 4 && ${BASH_VERSINFO[1]} -ge 1) ]]; then
219
exec 3>"$CLICKHOUSE_BASH_TRACING_FILE"
220
# It will be also nice to have stderr in the tracing output, but:
221
# - exec 2>&3
0 commit comments