From fdc37cac2928a95e92ef2ae5c15adf2e14ffca2f Mon Sep 17 00:00:00 2001 From: "Leon M. George" Date: Sat, 25 May 2019 00:11:17 +0200 Subject: [PATCH] batmand: match loop format --- batmand/files/etc/init.d/batmand | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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' ' -- 2.30.2