improve error message when building as root
Change-Id: I496e439e2f7e24c05f798f1a7ed0081ca0725f5c Reviewed-on: https://gerrit.libreoffice.org/60037 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Jenkins
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ all: build
|
||||
check-if-root:
|
||||
@if test ! `uname` = 'Haiku' -a `id -u` = 0 && ! grep -q 'lxc\|docker' /proc/self/cgroup; then \
|
||||
echo; \
|
||||
echo 'No. You make ME a sandwich.'; \
|
||||
echo 'Building LibreOffice as root is a very bad idea, use a regular user.'; \
|
||||
echo; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user