develop
asamoukin 15 years ago
parent 44dd81abc0
commit 51925abf78

@ -1,8 +1,10 @@
#! /bin/sh #! /bin/sh
if [ -e '/var/log/cl_login-error.log' ]; PATH_LOG='/var/log/calculate'
FILE_LOG="${PATH_LOG}/cl_login-error.log"
if [ -e $FILE_LOG ];
then then
ERROR=`cat /var/log/cl_login-error.log` ERROR=`cat $FILE_LOG`
if [ $ERROR ]; if [ $ERROR ];
then then
exit 1 exit 1

Loading…
Cancel
Save