aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/lib/functions/leds.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/files/lib/functions/leds.sh')
-rw-r--r--package/base-files/files/lib/functions/leds.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/base-files/files/lib/functions/leds.sh b/package/base-files/files/lib/functions/leds.sh
index e4423b4cc8..8a1d21caef 100644
--- a/package/base-files/files/lib/functions/leds.sh
+++ b/package/base-files/files/lib/functions/leds.sh
@@ -10,8 +10,7 @@ get_dt_led() {
[ -f "$nodepath" ] && ledpath=$(cat "$nodepath")
[ -n "$ledpath" ] && \
label=$(cat "$basepath$ledpath/label" 2>/dev/null) || \
- label=$(cat "$basepath$ledpath/chan-name" 2>/dev/null) || \
- echo "led label not found" 1>&2
+ label=$(cat "$basepath$ledpath/chan-name" 2>/dev/null)
echo "$label"
}