diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-02-15 05:21:32 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-02-15 05:21:32 +0000 |
commit | 467f00663539340214c4def74ae040b4795b5ed0 (patch) | |
tree | a6657c8f6db6aa16eb224b2853745fee522f8ad2 | |
parent | a708784cdc9dca1067afee260dad239471cc3d6d (diff) | |
download | msec-467f00663539340214c4def74ae040b4795b5ed0.tar msec-467f00663539340214c4def74ae040b4795b5ed0.tar.gz msec-467f00663539340214c4def74ae040b4795b5ed0.tar.bz2 msec-467f00663539340214c4def74ae040b4795b5ed0.tar.xz msec-467f00663539340214c4def74ae040b4795b5ed0.zip |
test SECURE_LEVEL before using it as a number
-rwxr-xr-x | msec.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -34,7 +34,7 @@ if ! echo ${PATH} |grep -q /usr/games ; then export PATH=$PATH:/usr/games fi -if [ "$SECURE_LEVEL" -le 1 ] && ! echo ${PATH} | fgrep -q :.; then +if [ -n "$SECURE_LEVEL" -a "$SECURE_LEVEL" -le 1 ] && ! echo ${PATH} | fgrep -q :.; then export PATH=$PATH:. fi |