From d7b6987f0f31a3c9b215d7026a7e67ddb2094cfc Mon Sep 17 00:00:00 2001 From: Gustavo De Nardin Date: Sat, 11 Apr 2009 20:25:48 +0000 Subject: - 2.7.17 - stop csh from sourcing /etc/profile.d/* on non-interactive shells (bug #49407, comment 6) - updated NEWS --- csh.cshrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'csh.cshrc') diff --git a/csh.cshrc b/csh.cshrc index 6010599..02c8c5c 100644 --- a/csh.cshrc +++ b/csh.cshrc @@ -17,6 +17,9 @@ if ($?prompt) then else set prompt=\[`id -nu`@`hostname -s`\]\$\ endif +else + # nothing more to do for non-interactive shell + goto OUT endif test -d /etc/profile.d @@ -34,3 +37,6 @@ if ($status == 0) then end unset i nonomatch endif + + +OUT: -- cgit v1.2.1