commit: f313f3c5de9fe1e52ef4abc62935090a299a51b8 Author: William Hubbs <williamh <AT> gentoo <DOT> org> AuthorDate: Sat Aug 27 16:52:39 2016 +0000 Commit: William Hubbs <williamh <AT> gentoo <DOT> org> CommitDate: Sat Aug 27 16:52:39 2016 +0000 URL: https://gitweb.gentoo.org/proj/baselayout.git/commit/?id=f313f3c5
etc/profile: remove comments about whoami X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=587612 etc/profile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/etc/profile b/etc/profile index 2dee463..11336fb 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
