mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -07:00
Update v-fix-website-permissions
This commit is contained in:
parent
1a6562eb87
commit
003f35810b
1 changed files with 4 additions and 2 deletions
|
@ -12,15 +12,17 @@ if [ "$whoami" != "root" ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Importing system environment and includes
|
||||
# Importing system environment
|
||||
source /etc/profile
|
||||
source /usr/local/vesta/func/main.sh
|
||||
|
||||
# Argument definition
|
||||
domain=$1
|
||||
|
||||
user=$(/usr/local/vesta/bin/v-search-domain-owner $domain)
|
||||
|
||||
# Includes
|
||||
source /usr/local/vesta/func/main.sh
|
||||
|
||||
if [ -z "$user" ]; then
|
||||
check_result $E_NOTEXIST "domain $domain doesn't exist"
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue