mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-11-24 08:04:35 +03:00
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:
parent
8eb6d6aa5a
commit
927ea40f53
@ -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=""
|
||||
|
Loading…
Reference in New Issue
Block a user