Fix typo
This commit is contained in:
parent
a7d5799b6a
commit
def2660876
1 changed files with 1 additions and 1 deletions
2
volbash
2
volbash
|
@ -104,7 +104,7 @@ adjust() {
|
||||||
op=$([[ "$1" == "up" ]] && echo "+" || echo "-")
|
op=$([[ "$1" == "up" ]] && echo "+" || echo "-")
|
||||||
delta="${2}%$op"
|
delta="${2}%$op"
|
||||||
|
|
||||||
# We check the if the volume increment exceeds 100 and override
|
# We check if the volume increment exceeds 100 and override
|
||||||
# the delta if the bypass option has not been specified.
|
# the delta if the bypass option has not been specified.
|
||||||
if [[ -z $3 ]] && [[ $(("$vol" "$op" "$2")) -gt 100 ]]; then
|
if [[ -z $3 ]] && [[ $(("$vol" "$op" "$2")) -gt 100 ]]; then
|
||||||
delta="100%"
|
delta="100%"
|
||||||
|
|
Loading…
Add table
Reference in a new issue