aboutsummaryrefslogtreecommitdiffstats
path: root/msec.sh
diff options
context:
space:
mode:
Diffstat (limited to 'msec.sh')
-rwxr-xr-xmsec.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/msec.sh b/msec.sh
index 4ab8399..c4c9c0e 100755
--- a/msec.sh
+++ b/msec.sh
@@ -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