mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -07:00
Merge pull request #81 from Ursadon/master
fixed LoadAverage check (Thanks to Ursadon)
This commit is contained in:
commit
d565910048
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ while [ "$la" -ge "$BACKUP_LA_LIMIT" ]; do
|
||||||
log_event "$E_LA" "$EVENT"
|
log_event "$E_LA" "$EVENT"
|
||||||
exit $E_LA
|
exit $E_LA
|
||||||
fi
|
fi
|
||||||
|
la=$(cat /proc/loadavg | cut -f 1 -d ' ' | cut -f 1 -d '.')
|
||||||
(( ++i))
|
(( ++i))
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue