fix sudo command

Signed-off-by: szaimen <szaimen@e.mail.de>
This commit is contained in:
szaimen 2022-10-27 16:11:09 +02:00
parent 6458bf6613
commit a03fad2c33
3 changed files with 3 additions and 3 deletions

View file

@ -37,7 +37,7 @@ fi
sudo -u www-data rm -f "$NEXTCLOUD_DATA_DIR/this-is-a-test-file"
# Run original entrypoint
if ! sudo -uE www-data bash /entrypoint.sh; then
if ! sudo -E -u www-data bash /entrypoint.sh; then
exit 1
fi