diff options
Diffstat (limited to 'add-service')
-rwxr-xr-x | add-service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/add-service b/add-service index ee29e9e..8901ef0 100755 --- a/add-service +++ b/add-service @@ -24,7 +24,7 @@ if [ $num = 1 ]; then if [ -r /etc/sysconfig/msec ]; then . /etc/sysconfig/msec fi - if [ -n "$SECURE_LEVEL" -a "$SECURE_LEVEL" -gt 3 ]; then + if [[ -n "$SECURE_LEVEL" ]] && [[ "$SECURE_LEVEL" -gt 3 ]]; then # High security: add only authorized services LIST=/etc/security/msec/server # during the install the symlink isn't done so find the right file |