if [[ -f "error.last" && -s "error.last" ]]; then
now=`./error.now`
last=`tail -1 last.error`
if [ "$now" == "$last" ]
then
echo $now
else
echo $last
fi
else
    echo "not exist or empty"  
fi
