From 3f3cb0e07b44f71084b716348b78f3b78c6a9ffa Mon Sep 17 00:00:00 2001
From: John Crispin <blogic@openwrt.org>
Date: Tue, 26 Apr 2016 11:43:31 +0000
Subject: lantiq: Fix typo in LED diag script.

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'target/linux/lantiq')

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
 		}
-- 
cgit v1.2.3