Skip to content

Commit e5608b4

Browse files
committed
fix for nginx tpl verification on restore
1 parent 17aa86c commit e5608b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v-restore-user

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,9 +257,9 @@ if [ "$web" != 'no' ]; then
257257

258258
# Check proxy template
259259
if [ ! -z "$PROXY_SYSTEM" ] && [ ! -z "$PROXY" ]; then
260-
if [ ! -e "$WEBTPL/$PROXY_SYSTEM/$TPL.tpl" ]; then
260+
if [ ! -e "$WEBTPL/$PROXY_SYSTEM/$PROXY.tpl" ]; then
261261
PROXY="default"
262-
if [ ! -e "$WEBTPL/$PROXY_SYSTEM/$TPL.tpl" ]; then
262+
if [ ! -e "$WEBTPL/$PROXY_SYSTEM/$PROXY.tpl" ]; then
263263
echo "Error: no avaiable proxy template"
264264
echo "No available proxy tpl" |\
265265
$send_mail -s "$subj" $email

0 commit comments

Comments
 (0)