Skip to content

Commit

Permalink
fix shellcheck commit
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenKelevra committed Sep 19, 2018
1 parent 6760871 commit 8cc759a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/cake/cake_tin_delay_
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ convert_time() {

tc_cake_get_delays() {
delays="$(/sbin/tc -s qdisc show dev "$1" | grep "^ av_delay" | sed -e 's/av_delay//')"
for e in "${delays[@]}"; do
for e in ${delays[@]}; do
delay="$(convert_time "$e")"
echo -en " $delay "
done
Expand Down
2 changes: 1 addition & 1 deletion plugins/cake/cake_tin_throughput_
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ tc_cake_get_bandwidth() {

tc_cake_get_bits() {
bytes="$(/sbin/tc -s qdisc show dev "$1" | grep "^ bytes" | sed -e 's/bytes//')"
for e in "${bytes[@]}"; do
for e in ${bytes[@]}; do
bits="$(convert_byte_to_bit $e)"
echo -en " $bits "
done
Expand Down

0 comments on commit 8cc759a

Please sign in to comment.