From f400b401d2d958d08fa5374ecd40264ba49fa8b7 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Mon, 8 Jan 2024 09:41:12 +0100 Subject: [PATCH] Update v-fix-website-permissions --- bin/v-fix-website-permissions | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/v-fix-website-permissions b/bin/v-fix-website-permissions index 08f948fc3..5db797a7f 100644 --- a/bin/v-fix-website-permissions +++ b/bin/v-fix-website-permissions @@ -12,8 +12,9 @@ if [ "$whoami" != "root" ]; then exit 1 fi -# Importing system environment +# Importing system environment and includes source /etc/profile +source /usr/local/vesta/func/main.sh # Argument definition domain=$1 @@ -26,9 +27,6 @@ fi USER=$user -# Includes -source /usr/local/vesta/func/main.sh - #----------------------------------------------------------# # Verifications # #----------------------------------------------------------#