Fix typo
parent
af82ccf0c2
commit
353dfd08c6
|
|
@ -88,7 +88,7 @@ borg_exec () {
|
||||||
}
|
}
|
||||||
|
|
||||||
convert_rate () {
|
convert_rate () {
|
||||||
# Takes the rate in bytes as argument
|
# Convert IN_RATE to bytes
|
||||||
local IN_RATE=${1}
|
local IN_RATE=${1}
|
||||||
local RATE=0
|
local RATE=0
|
||||||
local B_REGEX="^([0-9]+)$"
|
local B_REGEX="^([0-9]+)$"
|
||||||
|
|
@ -117,7 +117,7 @@ convert_rate () {
|
||||||
|
|
||||||
limit_bw () {
|
limit_bw () {
|
||||||
if ! [[ -x $(command -v pv) ]]; then
|
if ! [[ -x $(command -v pv) ]]; then
|
||||||
>&2 echo "WARNING: BWLIMIT is enabled, but the utility 'pv' is not available. Continuing without bandwith limitation."
|
>&2 echo "WARNING: BWLIMIT is enabled, but the utility 'pv' is not available. Continuing without bandwidth limitation."
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue