0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-07-22 15:18:05 +02:00
This commit is contained in:
Josh 2024-12-25 21:16:13 +01:00 committed by GitHub
commit a5e4b5b1f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -13,7 +13,7 @@ directory_empty() {
run_as() { run_as() {
if [ "$(id -u)" = 0 ]; then 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 else
sh -c "$1" sh -c "$1"
fi fi