Skip to content

Commit f1062c3

Browse files
committed
Spelling correction
some spelling corrections
1 parent f7bd734 commit f1062c3

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

bin/v-add-domain

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Variable&Function #
1010
#----------------------------------------------------------#
1111

12-
# Argument defenition
12+
# Argument definition
1313
user=$1
1414
domain=$2
1515
ip=$3
@@ -48,31 +48,31 @@ if [ -z "$ip" ]; then
4848
fi
4949

5050
# Web domain
51-
# Not restart at this point will loose conecction from API calls
51+
# Do Not restart at this point will loose conecction from API calls
5252
if [ ! -z "$WEB_SYSTEM" ] && [ "$WEB_SYSTEM" != 'no' ]; then
5353
$BIN/v-add-web-domain $user $domain $ip no
54-
retun_code=$?
54+
return_code=$?
5555
fi
5656

5757
# Proxy support
58-
# Not restart at this point will loose conecction from API calls
59-
if [ ! -z "$PROXY_SYSTEM" ] && [ "$retun_code" -eq 0 ]; then
58+
# Do Not restart at this point will loose conecction from API calls
59+
if [ ! -z "$PROXY_SYSTEM" ] && [ "$return_code" -eq 0 ]; then
6060
$BIN/v-add-web-domain-proxy $user $domain '' '' no
6161
fi
6262

6363
# DNS domain
6464
if [ ! -z "$DNS_SYSTEM" ] && [ "$DNS_SYSTEM" != 'no' ]; then
65-
if [ "$retun_code" -eq 0 ]; then
65+
if [ "$return_code" -eq 0 ]; then
6666
$BIN/v-add-dns-domain $user $domain $ip
67-
retun_code=$?
67+
return_code=$?
6868
fi
6969
fi
7070

7171
# Mail domain
7272
if [ ! -z "$MAIL_SYSTEM" ] && [ "$MAIL_SYSTEM" != 'no' ]; then
73-
if [ "$retun_code" -eq 0 ]; then
73+
if [ "$return_code" -eq 0 ]; then
7474
$BIN/v-add-mail-domain $user $domain
75-
retun_code=$?
75+
return_code=$?
7676
fi
7777
fi
7878

@@ -81,4 +81,4 @@ fi
8181
# Vesta #
8282
#----------------------------------------------------------#
8383

84-
exit $retun_code
84+
exit $return_code

0 commit comments

Comments
 (0)