From: Leon M. George Date: Fri, 24 May 2019 22:11:17 +0000 (+0200) Subject: batmand: match loop format X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=fdc37cac2928a95e92ef2ae5c15adf2e14ffca2f;p=feed%2Frouting.git batmand: match loop format --- diff --git a/batmand/files/etc/init.d/batmand b/batmand/files/etc/init.d/batmand index 14e8f1a..add4ec8 100644 --- a/batmand/files/etc/init.d/batmand +++ b/batmand/files/etc/init.d/batmand @@ -18,10 +18,9 @@ start () { disable_aggregation=$(uci get batmand.general.disable_aggregation) batman_args="" - for hna in $hnas - do - batman_args=${batman_args}'-a '$hna' ' - done + for hna in $hnas; do + batman_args=${batman_args}'-a '$hna' ' + done if [ $gateway_class ]; then batman_args=${batman_args}'-g '$gateway_class' '