r5514 - trunk/varnish-cache/redhat
ingvar at varnish-cache.org
ingvar at varnish-cache.org
Thu Nov 4 13:44:51 CET 2010
Author: ingvar
Date: 2010-11-04 13:44:50 +0100 (Thu, 04 Nov 2010)
New Revision: 5514
Modified:
trunk/varnish-cache/redhat/varnish_reload_vcl
Log:
typofix
Modified: trunk/varnish-cache/redhat/varnish_reload_vcl
===================================================================
--- trunk/varnish-cache/redhat/varnish_reload_vcl 2010-11-04 12:41:12 UTC (rev 5513)
+++ trunk/varnish-cache/redhat/varnish_reload_vcl 2010-11-04 12:44:50 UTC (rev 5514)
@@ -45,7 +45,7 @@
exit 2
elif [ -z "$VARNISH_VCL_CONF" ]; then
- echo "Error: VARNISH_VCL_CONF" is not set
+ echo "Error: VARNISH_VCL_CONF is not set"
exit 2
elif [ ! -s "$VARNISH_VCL_CONF" ]; then
@@ -82,7 +82,7 @@
$debug && echo vcl.list succeeded
else
echo "Unable to run $VARNISHADM vcl.list"
- exit 2
+ exit 1
fi
if $VARNISHADM vcl.list | awk ' { print $3 } ' | grep -q $new_config; then
@@ -99,7 +99,6 @@
if $VARNISHADM vcl.load $new_config $VARNISH_VCL_CONF; then
$debug && echo "$VARNISHADM vcl.load succeded"
else
- retval=$?
echo "$VARNISHADM vcl.load failed"
exit 1
fi
More information about the varnish-commit
mailing list