diff options
author | Frederic Lepied <flepied@mandriva.com> | 2002-12-22 21:42:51 +0000 |
---|---|---|
committer | Frederic Lepied <flepied@mandriva.com> | 2002-12-22 21:42:51 +0000 |
commit | e1bc9e298b1bd33c13a7102c078f66c6e556dbc8 (patch) | |
tree | 57bbfbb74647881f4e9dad877371e45cdaa8d7d0 | |
parent | 6076e73d4dd62a7904bb5559de14f77c7f03711d (diff) | |
download | rpm-helper-e1bc9e298b1bd33c13a7102c078f66c6e556dbc8.tar rpm-helper-e1bc9e298b1bd33c13a7102c078f66c6e556dbc8.tar.gz rpm-helper-e1bc9e298b1bd33c13a7102c078f66c6e556dbc8.tar.bz2 rpm-helper-e1bc9e298b1bd33c13a7102c078f66c6e556dbc8.tar.xz rpm-helper-e1bc9e298b1bd33c13a7102c078f66c6e556dbc8.zip |
corrected behaviour when SECURE_LEVEL isn't set
-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 |