[source] dropbear: fix service trigger syntax error
LEDE Commits
lede-commits at lists.infradead.org
Sat Jun 17 04:50:39 PDT 2017
dedeckeh pushed a commit to source.git, branch lede-17.01:
https://git.lede-project.org/c16326cfedf7d6fb46804b0a99a7fbe21251dec0
commit c16326cfedf7d6fb46804b0a99a7fbe21251dec0
Author: Kevin Darbyshire-Bryant <kevin at darbyshire-bryant.me.uk>
AuthorDate: Thu Jun 15 12:58:25 2017 +0100
dropbear: fix service trigger syntax error
The classic single '&' when double '&&' conditional was meant.
Signed-off-by: Kevin Darbyshire-Bryant <kevin at darbyshire-bryant.me.uk>
---
package/network/services/dropbear/Makefile | 2 +-
package/network/services/dropbear/files/dropbear.init | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile
index 1e2588d..05df1bc 100644
--- a/package/network/services/dropbear/Makefile
+++ b/package/network/services/dropbear/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=dropbear
PKG_VERSION:=2017.75
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:= \
diff --git a/package/network/services/dropbear/files/dropbear.init b/package/network/services/dropbear/files/dropbear.init
index c5210cd..5c21359 100755
--- a/package/network/services/dropbear/files/dropbear.init
+++ b/package/network/services/dropbear/files/dropbear.init
@@ -132,7 +132,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
More information about the lede-commits
mailing list