diff options
author | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-09 17:16:37 +0000 |
---|---|---|
committer | Yoann Vandoorselaere <yoann@mandriva.com> | 1999-12-09 17:16:37 +0000 |
commit | a9246801e5bce8060b3086ae5f3d443699b82171 (patch) | |
tree | 087e90506e9630ee7dba5ef3960ca2cc7146162a /cron-sh/promisc_check.sh | |
parent | 9422e4962af0d43308cfae95ab8e7370ee035525 (diff) | |
download | msec-a9246801e5bce8060b3086ae5f3d443699b82171.tar msec-a9246801e5bce8060b3086ae5f3d443699b82171.tar.gz msec-a9246801e5bce8060b3086ae5f3d443699b82171.tar.bz2 msec-a9246801e5bce8060b3086ae5f3d443699b82171.tar.xz msec-a9246801e5bce8060b3086ae5f3d443699b82171.zip |
Should really be stable now.
Diffstat (limited to 'cron-sh/promisc_check.sh')
-rwxr-xr-x | cron-sh/promisc_check.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-sh/promisc_check.sh b/cron-sh/promisc_check.sh index a2bdaa4..cabf0a8 100755 --- a/cron-sh/promisc_check.sh +++ b/cron-sh/promisc_check.sh @@ -3,7 +3,7 @@ # Writen by Vandoorselaere Yoann, # <yoann@mandrakesoft.com> -if [ -f /etc/security/msec/security.conf ]; then +if [[ -f /etc/security/msec/security.conf ]]; then . /etc/security/msec/security.conf else echo "/etc/security/msec/security.conf don't exist." @@ -46,7 +46,7 @@ LogPromisc() { } -if [ -f /etc/security/msec/security.conf ]; then +if [[ -f /etc/security/msec/security.conf ]]; then . /etc/security/msec/security.conf else exit 1 |