diff options
author | William Hubbs <williamh@gentoo.org> | 2016-08-27 11:52:39 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2016-08-27 11:52:39 -0500 |
commit | f313f3c5de9fe1e52ef4abc62935090a299a51b8 (patch) | |
tree | 5271c645414b75300d98926b9c5afa4352361bf1 | |
parent | etc/hosts: document the alias order (diff) | |
download | baselayout-f313f3c5de9fe1e52ef4abc62935090a299a51b8.tar.gz baselayout-f313f3c5de9fe1e52ef4abc62935090a299a51b8.tar.bz2 baselayout-f313f3c5de9fe1e52ef4abc62935090a299a51b8.zip |
etc/profile: remove comments about whoami
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=587612
-rw-r--r-- | etc/profile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/etc/profile b/etc/profile index 2dee4639..11336fba 100644 --- a/etc/profile +++ b/etc/profile @@ -22,10 +22,6 @@ umask 022 # There's no real reason to exclude sbin paths from the normal user, # but it can make tab-completion easier when they aren't in the # user's PATH to pollute the executable namespace. -# -# It is intentional in the following line to use || instead of -o. -# This way the evaluation can be short-circuited and calling whoami is -# avoided. if [ "$EUID" = "0" ] || [ "$USER" = "root" ] ; then PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:${ROOTPATH}" else |