Permalink
Browse files

fix for nginx tpl verification on restore

  • Loading branch information...
serghey-rodin committed Mar 16, 2014
1 parent 17aa86c commit e5608b4aebeab97b9ea633dc4f5fba121f3b5387
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/v-restore-user
View
@@ -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

0 comments on commit e5608b4

Please sign in to comment.