aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>2017-06-15 12:58:25 +0100
committerHans Dedecker <dedeckeh@gmail.com>2017-06-16 12:05:25 +0200
commit8f4085e2fdc242d08cfd42012193ab87e34c7a36 (patch)
treebf29f2d56ea818a3f9b8324204d79a8627e71aef
parent19ac879954210df3c6a010990bef42ad5c7fd967 (diff)
downloadupstream-8f4085e2fdc242d08cfd42012193ab87e34c7a36.tar.gz
upstream-8f4085e2fdc242d08cfd42012193ab87e34c7a36.tar.bz2
upstream-8f4085e2fdc242d08cfd42012193ab87e34c7a36.zip
dropbear: fix service trigger syntax error
The classic single '&' when double '&&' conditional was meant. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
-rw-r--r--package/network/services/dropbear/Makefile2
-rwxr-xr-xpackage/network/services/dropbear/files/dropbear.init2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/network/services/dropbear/Makefile b/package/network/services/dropbear/Makefile
index 1e2588d619..05df1bc6ac 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 3fd2c578ee..2d23ebd045 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