erreur sur le current user

This commit is contained in:
Cédric Abonnel 2025-03-22 08:10:19 +01:00
parent 164c69f580
commit 4ee5bcc04f
1 changed files with 1 additions and 1 deletions
scripts/server-httpd

View File

@ -8,7 +8,7 @@ source "$(dirname "$0")/../common/common_utils.sh"
check_root
WWW_DIR="/var/www"
REAL_USER="${SUDO_USER:-$(whoami)}"
CURRENT_USER="${SUDO_USER:-$(whoami)}"
echo "Correction des permissions de $WWW_DIR/html si nécessaire..."
if [ -d "$WWW_DIR/html" ]; then