mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Replaced $OK with 0
This commit is contained in:
parent
94ddaa3622
commit
d05b158959
6 changed files with 6 additions and 6 deletions
|
@ -44,7 +44,7 @@ is_user_suspended
|
|||
|
||||
# Checking domain
|
||||
is_domain_new 'quiet'
|
||||
if [ $? -ne $OK ]; then
|
||||
if [ $? -ne 0 ]; then
|
||||
|
||||
# Checking domain owner
|
||||
is_domain_owner
|
||||
|
|
|
@ -41,7 +41,7 @@ is_user_suspended
|
|||
|
||||
# Checking domain
|
||||
is_domain_new 'quiet'
|
||||
if [ $? -ne $OK ]; then
|
||||
if [ $? -ne 0 ]; then
|
||||
|
||||
# Checking domain owner
|
||||
is_domain_owner
|
||||
|
|
|
@ -46,7 +46,7 @@ is_domain_suspended 'web'
|
|||
|
||||
# Checking alias on the server
|
||||
is_domain_new 'quiet' "$dom_alias"
|
||||
if [ $? -ne $OK ]; then
|
||||
if [ $? -ne 0 ]; then
|
||||
|
||||
# Checking alias owner
|
||||
is_domain_owner "$dom_alias"
|
||||
|
|
|
@ -20,4 +20,4 @@ if [ "$CRON_SYSTEM" = 'crond' ]; then
|
|||
fi
|
||||
|
||||
# Logging
|
||||
exit $OK
|
||||
exit
|
||||
|
|
|
@ -19,4 +19,4 @@ if [ "$DNS_SYSTEM" = 'bind' ]; then
|
|||
bind
|
||||
fi
|
||||
|
||||
exit $OK
|
||||
exit
|
||||
|
|
|
@ -33,4 +33,4 @@ if [ "$PROXY_SYSTEM" = 'nginx' ]; then
|
|||
fi
|
||||
|
||||
# Logging
|
||||
exit $OK
|
||||
exit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue