Commit 20d0f0bb authored by Federico G. Schwindt's avatar Federico G. Schwindt

Fix configtest when vcl_dir is specified

Reported and diff submitted by Gauthier Delacroix on varnish-dev.
parent b8ff3f5f
......@@ -126,7 +126,7 @@ rh_status_q() {
configtest() {
if [ -f "$VARNISH_VCL_CONF" ]; then
$exec -f "$VARNISH_VCL_CONF" -C -n /tmp > /dev/null && echo "Syntax ok"
$exec -f "$VARNISH_VCL_CONF" -C "$DAEMON_OPTS" -n /tmp > /dev/null && echo "Syntax ok"
else
echo "VARNISH_VCL_CONF is unset or does not point to a file"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment