diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-03-04 19:19:14 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-03-04 19:19:14 +0000 |
commit | 2dc95fc3d3051c936ab1848c34130bf0289bbfb9 (patch) | |
tree | 7874b3e68b4fe92dc84bafc53d27b0a20b8890ae /msec.sh | |
parent | 5a34a6a710394e6fc63c8c65b8fc6976ba4e78cf (diff) | |
download | msec-2dc95fc3d3051c936ab1848c34130bf0289bbfb9.tar msec-2dc95fc3d3051c936ab1848c34130bf0289bbfb9.tar.gz msec-2dc95fc3d3051c936ab1848c34130bf0289bbfb9.tar.bz2 msec-2dc95fc3d3051c936ab1848c34130bf0289bbfb9.tar.xz msec-2dc95fc3d3051c936ab1848c34130bf0289bbfb9.zip |
more robust if SECURE_LEVEL isn't set.
Diffstat (limited to 'msec.sh')
-rwxr-xr-x | msec.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -26,8 +26,10 @@ else fi fi -if [ -n "$SECURE_LEVEL" -a "$SECURE_LEVEL" -le 1 ] && ! echo ${PATH} | fgrep -q :.; then - export PATH=$PATH:. +if [ -n "$SECURE_LEVEL" ]; then + if [ "$SECURE_LEVEL" -le 1 ] && ! echo ${PATH} | fgrep -q :.; then + export PATH=$PATH:. + fi fi export SECURE_LEVEL |