aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2003-11-28 11:55:10 +0000
committerFrederic Lepied <flepied@mandriva.com>2003-11-28 11:55:10 +0000
commit927830accb3e3609546bde2c2840c9d487f22ed7 (patch)
treeba57e264a75769d4ca92d103c03c2333df9edaa1
parentb3a9963f030d08c7fa6505e6034f324562451c73 (diff)
downloadmsec-927830accb3e3609546bde2c2840c9d487f22ed7.tar
msec-927830accb3e3609546bde2c2840c9d487f22ed7.tar.gz
msec-927830accb3e3609546bde2c2840c9d487f22ed7.tar.bz2
msec-927830accb3e3609546bde2c2840c9d487f22ed7.tar.xz
msec-927830accb3e3609546bde2c2840c9d487f22ed7.zip
only set SECURE_LEVEL whenever it already exists locally
-rwxr-xr-xmsec.csh4
1 files changed, 3 insertions, 1 deletions
diff --git a/msec.csh b/msec.csh
index 137ed2e..3c03754 100755
--- a/msec.csh
+++ b/msec.csh
@@ -61,6 +61,8 @@ if ( ${?HISTFILESIZE} ) then
set history=$HISTFILESIZE
endif
-setenv SECURE_LEVEL ${SECURE_LEVEL}
+if ( ${?SECURE_LEVEL} ) then
+ setenv SECURE_LEVEL ${SECURE_LEVEL}
+endif
# msec.csh ends here