mirror of
https://github.com/nextcloud/docker.git
synced 2025-04-19 18:36:09 +02:00
Merge a83363f812
into abd0ba3fdb
This commit is contained in:
commit
a352d56e1e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue