diff --git a/webui.sh b/webui.sh index 2800b2d3d..7f339f585 100755 --- a/webui.sh +++ b/webui.sh @@ -44,8 +44,8 @@ do esac done -# Do not run as root -if [[ $(id -u) -eq 0 && can_run_as_root -eq 0 ]] +# Do not run as root unless inside a Docker container +if [[ $(id -u) -eq 0 && can_run_as_root -eq 0 && ! -f /.dockerenv ]] then echo "Cannot run as root" exit 1 diff --git a/wiki b/wiki index 35142f02a..f76cc3a9a 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 35142f02aee984aac261d1e1f563768d008398f6 +Subproject commit f76cc3a9ac124882f58f35ba3dfe930744109456