You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#! /bin/sh
|
|
|
|
|
|
|
|
PATH_LOG='/var/log/calculate'
|
|
|
|
FILE_LOG="${PATH_LOG}/cl_login-error.log"
|
|
|
|
if [ -e $FILE_LOG ];
|
|
|
|
then
|
|
|
|
ERROR=`cat $FILE_LOG`
|
|
|
|
if [ "$ERROR" ];
|
|
|
|
then
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
exit 0
|