lantiq: Fix typo in LED diag script.
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 26 Apr 2016 11:43:31 +0000 (11:43 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49242 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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