improved bytes validation

This commit is contained in:
Serghey Rodin 2013-02-26 13:02:59 +02:00
commit 14be9aa777
2 changed files with 2 additions and 2 deletions

View file

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