fixed error with saved error state on server blogereus2

This commit is contained in:
Serghey Rodin 2012-09-26 14:30:12 +03:00
commit 82862ddf04
3 changed files with 3 additions and 2 deletions

View file

@ -116,7 +116,7 @@ is_package_full() {
esac
limit=$(grep "^$1=" $USER_DATA/user.conf | cut -f 2 -d \' )
if [ "$used" -ge "$limit" ]; then
echo "Error: Upgrade package"
echo "Error: Limit reached / Upgrade package"
log_event "$E_LIMIT" "$EVENT"
exit $E_LIMIT
fi