aboutsummaryrefslogtreecommitdiffstats
path: root/msec.csh
diff options
context:
space:
mode:
Diffstat (limited to 'msec.csh')
-rwxr-xr-xmsec.csh8
1 files changed, 5 insertions, 3 deletions
diff --git a/msec.csh b/msec.csh
index 806136e..3382e66 100755
--- a/msec.csh
+++ b/msec.csh
@@ -40,9 +40,11 @@ if ! { (echo "${PATH}" | /bin/grep -q /usr/games) } then
setenv PATH "${PATH}:/usr/games"
endif
-if ( ${?SECURE_LEVEL} && ${SECURE_LEVEL} <= 1 ) then
- if ! { (echo "${PATH}" | /bin/fgrep -q :.) } then
- setenv PATH "${PATH}:."
+if ( ${?SECURE_LEVEL} ) then
+ if ( ${SECURE_LEVEL} <= 1 ) then
+ if ! { (echo "${PATH}" | /bin/fgrep -q :.) } then
+ setenv PATH "${PATH}:."
+ endif
endif
endif