mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 04:50:47 -07:00
Update v-unlock-wordpress
This commit is contained in:
parent
ee5df22828
commit
bdfe17490f
1 changed files with 5 additions and 3 deletions
|
@ -15,13 +15,15 @@ fi
|
||||||
# Importing system environment
|
# Importing system environment
|
||||||
source /etc/profile
|
source /etc/profile
|
||||||
|
|
||||||
# Includes
|
|
||||||
source /usr/local/vesta/func/main.sh
|
|
||||||
|
|
||||||
# Argument definition
|
# Argument definition
|
||||||
domain=$1
|
domain=$1
|
||||||
|
|
||||||
user=$(/usr/local/vesta/bin/v-search-domain-owner $domain)
|
user=$(/usr/local/vesta/bin/v-search-domain-owner $domain)
|
||||||
|
USER=$user
|
||||||
|
|
||||||
|
# Includes
|
||||||
|
source /usr/local/vesta/func/main.sh
|
||||||
|
|
||||||
if [ -z "$user" ]; then
|
if [ -z "$user" ]; then
|
||||||
check_result $E_NOTEXIST "domain $domain doesn't exist"
|
check_result $E_NOTEXIST "domain $domain doesn't exist"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue