Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
typofix
Browse files Browse the repository at this point in the history
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@5514 d4fa192b-c00b-0410-8231-f00ffab90ce4
  • Loading branch information
ingvarha committed Nov 4, 2010
1 parent fab4a4e commit 28d1483
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions redhat/varnish_reload_vcl
Expand Up @@ -45,7 +45,7 @@ if [ ! "$RELOAD_VCL" = "1" ]; then
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
Expand Down Expand Up @@ -82,7 +82,7 @@ if $VARNISHADM vcl.list > /dev/null; then
$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
Expand All @@ -99,7 +99,6 @@ echo "Using new config name $new_config"
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
Expand Down

0 comments on commit 28d1483

Please sign in to comment.