aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/script/nginx_ldp.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/script/nginx_ldp.sh')
-rwxr-xr-xextras/hs-test/script/nginx_ldp.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/hs-test/script/nginx_ldp.sh b/extras/hs-test/script/nginx_ldp.sh
index 4a22e14aaf7..416aa5499af 100755
--- a/extras/hs-test/script/nginx_ldp.sh
+++ b/extras/hs-test/script/nginx_ldp.sh
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
-LD_PRELOAD=$LDP $@ 2>&1 > /proc/1/fd/1
+# shellcheck disable=SC2068
+$1 -v && LD_PRELOAD=$LDP $@ > /proc/1/fd/1 2>&1