We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0efdf3 commit 8e793ebCopy full SHA for 8e793eb
src/bootstrap/bootstrap.py
@@ -439,7 +439,7 @@ def main():
439
'CFG_ENABLE_VENDOR' in rb.config_mk
440
441
if 'SUDO_USER' in os.environ and not rb.use_vendored_sources:
442
- if os.environ['USER'] != os.environ['SUDO_USER']:
+ if os.environ.get('USER') != os.environ['SUDO_USER']:
443
rb.use_vendored_sources = True
444
print('info: looks like you are running this command under `sudo`')
445
print(' and so in order to preserve your $HOME this will now')
0 commit comments