From e1bc9e298b1bd33c13a7102c078f66c6e556dbc8 Mon Sep 17 00:00:00 2001 From: Frederic Lepied Date: Sun, 22 Dec 2002 21:42:51 +0000 Subject: corrected behaviour when SECURE_LEVEL isn't set --- add-service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'add-service') 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 -- cgit v1.2.1