0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-19 18:36:09 +02:00

Update entrypoint.sh

Signed-off-by: sjk1436 <127378182+sjk1436@users.noreply.github.com>
This commit is contained in:
sjk1436 2025-02-24 16:20:58 +05:30 committed by GitHub
parent 4daafc8d20
commit c37b0caed2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,7 +10,7 @@ version_greater() {
directory_empty() { directory_empty() {
[ -z "$(ls -A "$1/")" ] [ -z "$(ls -A "$1/")" ]
} }
echo " nothing "
run_as() { run_as() {
if [ "$(id -u)" = 0 ]; then if [ "$(id -u)" = 0 ]; then
su -p "$user" -s /bin/sh -c "$1" su -p "$user" -s /bin/sh -c "$1"