Update entrypoint.sh

Co-authored-by: myoung34 <[email protected]>
This commit is contained in:
James Stocker
2022-09-02 12:23:31 +02:00
committed by GitHub
co-authored by myoung34
parent 845c8560f2
commit 41e804d8f3
-1
View File
@@ -139,7 +139,6 @@ if [[ ${_RUN_AS_ROOT} == "true" ]]; then
echo "ERROR: RUN_AS_ROOT env var is set to true but the user has been overridden and is not running as root, but UID '$(id -u)'"
exit 1
fi
fi
else
[[ $(id -u) -eq 0 ]] && ( /usr/sbin/gosu runner "$@" ) || ( "$@" )
fi