[LEDE-DEV] [PATCH] dropbear: fix service trigger syntax error
Kevin Darbyshire-Bryant
kevin at darbyshire-bryant.me.uk
Thu Jun 15 02:37:11 PDT 2017
The classic single '&' when double '&&' conditional was meant.
Signed-off-by: Kevin Darbyshire-Bryant <kevin at darbyshire-bryant.me.uk>
---
package/network/services/dropbear/files/dropbear.init | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init
index 3fd2c57..2d23ebd 100755
--- a/package/network/services/dropbear/files/dropbear.init
+++ b/package/network/services/dropbear/files/dropbear.init
@@ -134,7 +134,7 @@ service_triggers()
config_load "${NAME}"
config_foreach load_interfaces dropbear
- [ -n "${interfaces}" ] & {
+ [ -n "${interfaces}" ] && {
for n in $interfaces ; do
procd_add_interface_trigger "interface.*" $n /etc/init.d/dropbear reload
done
--
2.7.4
More information about the Lede-dev
mailing list