Warn if running install-plotter.sh as root (#16206)

* Removed root user requirement

* Warn when `install-plotter.sh` is run by root user
This commit is contained in:
Izumi Hoshino
2024-01-25 10:00:18 -08:00
committed by GitHub
parent 8eb6d6aa5a
commit 927ea40f53
+1 -2
View File
@@ -167,8 +167,7 @@ if [ "$VIRTUAL_ENV" = "" ]; then
fi
if [ "$(id -u)" = 0 ]; then
echo "ERROR: Plotter can not be installed or run by the root user."
exit 1
echo "WARN: Plotter should not be installed or run by the root user."
fi
OS=""