From: John Crispin Date: Tue, 26 Apr 2016 11:43:31 +0000 (+0000) Subject: lantiq: Fix typo in LED diag script. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0a4f2b5920a8c4fa5afc021bc95a6aa781984013;p=openwrt%2Fstaging%2Fthess.git lantiq: Fix typo in LED diag script. Signed-off-by: Vittorio Gambaletta Acked-by: Mathias Kresin SVN-Revision: 49242 --- diff --git a/target/linux/lantiq/base-files/etc/diag.sh b/target/linux/lantiq/base-files/etc/diag.sh index 8356bcda69..71d6f3e511 100644 --- a/target/linux/lantiq/base-files/etc/diag.sh +++ b/target/linux/lantiq/base-files/etc/diag.sh @@ -25,7 +25,7 @@ set_state() { ;; done) status_led_off - [ -n "$running" ] & { + [ -n "$running" ] && { status_led="$running" status_led_on }