mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
E_RESTART should be a variable
This commit is contained in:
parent
275a8226a5
commit
4614df59a7
61 changed files with 89 additions and 89 deletions
|
@ -39,7 +39,7 @@ if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB_SYSTEM" != 'no' ]; then
|
|||
if [ ! -z "$check_web" ]; then
|
||||
$BIN/v-delete-web-domain $user $domain
|
||||
if [ $? -ne 0 ]; then
|
||||
exit E_RESTART
|
||||
exit $E_RESTART
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
@ -50,7 +50,7 @@ if [ ! -z "$DNS_SYSTEM" ] && [ "$DNS_SYSTEM" != 'no' ]; then
|
|||
if [ ! -z "$check_dns" ]; then
|
||||
$BIN/v-delete-dns-domain $user $domain
|
||||
if [ $? -ne 0 ]; then
|
||||
exit E_RESTART
|
||||
exit $E_RESTART
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
@ -61,7 +61,7 @@ if [ ! -z "$MAIL_SYSTEM" ] && [ "$MAIL_SYSTEM" != 'no' ]; then
|
|||
if [ ! -z "$check_mail" ]; then
|
||||
$BIN/v-delete-mail-domain $user $domain
|
||||
if [ $? -ne 0 ]; then
|
||||
exit E_RESTART
|
||||
exit $E_RESTART
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue