This commit is contained in:
Josh 2025-11-10 15:04:18 +05:30 committed by GitHub
commit d21d945345
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ directory_empty() {
run_as() {
if [ "$(id -u)" = 0 ]; then
su -p "$user" -s /bin/sh -c "$1"
HOME=/var/www su -p "$user" -s /bin/sh -c "$1"
else
sh -c "$1"
fi