Commit d5ec3266 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

RF: Don't disable env setup when running as root, but make warning a bit more

verbose
parent 9bd99fd0
......@@ -1567,9 +1567,10 @@ def parse_args(argv=None):
sys.exit(1)
if os.getuid() == 0:
printmsg('Running the installer script as root user - disabling '
'environment configuration', WARNING, EMPHASIS)
args.no_env = True
printmsg('Running the installer script as root user is discouraged! '
'You should run this script as a regular user - you will be '
'asked for your administrator password if required.'
WARNING, EMPHASIS)
if args.no_env:
args.no_shell = True
......
Supports Markdown
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