aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2006-07-11 09:36:56 +0000
committerMartin Schlemmer <azarah@gentoo.org>2006-07-11 09:36:56 +0000
commit963b22b30df2b785ad0e4f6754076b58dea28512 (patch)
tree1e4d80835d46eda3167e52495e32d2295d9c8412
parentMove the FUNCTION_SANDBOX_SAFE* macro's to libsandbox.h where they are more a... (diff)
downloadsandbox-963b22b30df2b785ad0e4f6754076b58dea28512.tar.gz
sandbox-963b22b30df2b785ad0e4f6754076b58dea28512.tar.bz2
sandbox-963b22b30df2b785ad0e4f6754076b58dea28512.zip
Do not source /etc/profile even in interactive mode.
Signed-off-by: Martin Schlemmer <azarah@gentoo.org>
-rw-r--r--data/sandbox.bashrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/sandbox.bashrc b/data/sandbox.bashrc
index bc6031f..39452d4 100644
--- a/data/sandbox.bashrc
+++ b/data/sandbox.bashrc
@@ -23,7 +23,8 @@ if [[ ${SANDBOX_INTRACTV} == "1" && -t 1 ]] ; then
# Make sure this do not get recusively called
unset SANDBOX_INTRACTV
- source /etc/profile
+ # Do not set this, as user might want to override path, etc ...
+ #source /etc/profile
(
[[ ${NOCOLOR} == "true" || ${NOCOLOR} == "yes" || ${NOCOLOR} == "1" ]] && \