lantiq: Fix typo in LED diag script.
authorJohn Crispin <john@openwrt.org>
Tue, 26 Apr 2016 11:43:31 +0000 (11:43 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 26 Apr 2016 11:43:31 +0000 (11:43 +0000)
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
Acked-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 49242

target/linux/lantiq/base-files/etc/diag.sh

index 8356bcda69a42ed9bc2be9aedbfd193408fccd4d..71d6f3e511796597b3cb140c3f0e64fef949a692 100644 (file)
@@ -25,7 +25,7 @@ set_state() {
                ;;
        done)
                status_led_off
-               [ -n "$running" ] & {
+               [ -n "$running" ] && {
                        status_led="$running"
                        status_led_on
                }