@@ -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
@@ -46,7 +46,7 @@ is_domain_suspended 'web'
# Checking alias on the server
is_domain_new 'quiet' "$dom_alias"
# 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
@@ -33,4 +33,4 @@ if [ "$PROXY_SYSTEM" = 'nginx' ]; then