Skip to content

Commit

Permalink
fix for nginx tpl verification on restore
Browse files Browse the repository at this point in the history
  • Loading branch information
serghey-rodin committed Mar 16, 2014
1 parent 17aa86c commit e5608b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/v-restore-user
Expand Up @@ -257,9 +257,9 @@ if [ "$web" != 'no' ]; then

# Check proxy template
if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then
if [ ! -e "$WEBTPL/$PROXY_SYSTEM/$TPL.tpl" ]; then
if [ ! -e "$WEBTPL/$PROXY_SYSTEM/$PROXY.tpl" ]; then
PROXY="default"
if [ ! -e "$WEBTPL/$PROXY_SYSTEM/$TPL.tpl" ]; then
if [ ! -e "$WEBTPL/$PROXY_SYSTEM/$PROXY.tpl" ]; then
echo "Error: no avaiable proxy template"
echo "No available proxy tpl" |\
$send_mail -s "$subj" $email
Expand Down

0 comments on commit e5608b4

Please sign in to comment.