Kaydet (Commit) 033a68c4 authored tarafından Noel Grandin's avatar Noel Grandin

improve error message when building as root

Change-Id: I496e439e2f7e24c05f798f1a7ed0081ca0725f5c
Reviewed-on: https://gerrit.libreoffice.org/60037Reviewed-by: 's avatarTor Lillqvist <tml@collabora.com>
Tested-by: Jenkins
üst d70bf1c4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment