aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmsec.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/msec.sh b/msec.sh
index dd3a429..c1a45ac 100755
--- a/msec.sh
+++ b/msec.sh
@@ -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