mirror of
https://github.com/myvesta/vesta
synced 2025-07-12 08:06:43 -07:00
hotfix to avoid octal numbers
This commit is contained in:
parent
ecf063711c
commit
b82899e557
1 changed files with 1 additions and 0 deletions
|
@ -44,6 +44,7 @@ for domain in $(search_objects 'web' 'SUSPENDED' "no" 'DOMAIN'); do
|
|||
# Parsing log
|
||||
while read line; do
|
||||
if [[ "$line" =~ ^[0-9]+$ ]]; then
|
||||
line=${line#0}
|
||||
bytes=$(($bytes + $line))
|
||||
fi
|
||||
done < $log_file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue