diff options
author | Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> | 2017-06-15 12:58:25 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-06-16 12:05:25 +0200 |
commit | 8f4085e2fdc242d08cfd42012193ab87e34c7a36 (patch) | |
tree | bf29f2d56ea818a3f9b8324204d79a8627e71aef /package/network/services/dropbear/files | |
parent | 19ac879954210df3c6a010990bef42ad5c7fd967 (diff) | |
download | upstream-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>
Diffstat (limited to 'package/network/services/dropbear/files')
-rwxr-xr-x | package/network/services/dropbear/files/dropbear.init | 2 |
1 files changed, 1 insertions, 1 deletions
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 |