Update extra/entrypoint.sh

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
Sem 2022-04-02 21:39:53 +02:00 committed by GitHub
parent c8b4887f6e
commit 524abb6a30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,7 +47,7 @@ echo "==> Starting application as user: $(id -u) ($USER) and group $(id -g)"
# --clear-groups Clear supplementary groups.
if [ $(id -u) -eq 0 ];
then
#We're running as root, so we can use setpriv without problems.
# We're running as root, so we can use setpriv without problems.
exec setpriv --reuid "$PUID" --regid "$PGID" --clear-groups "$@"
else
#We're running as a regular user, so we'll launch the app as one.