From 28700d6c92af86f9ace1a80dcc550db757519294 Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Sun, 14 Dec 2008 22:30:15 -0600 Subject: SlugOS: leds - fix the extraneous error message if no beeper correctly. --- packages/slugos-init/files/leds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/slugos-init/files/leds b/packages/slugos-init/files/leds index 3a0333bcb8..b40d5d874e 100644 --- a/packages/slugos-init/files/leds +++ b/packages/slugos-init/files/leds @@ -185,7 +185,7 @@ beep(){ test "$1" = beep && shift if test -x /bin/beep then - devices=`ls -d /sys/class/input/event* 2>&1` + devices=`ls -d /sys/class/input/event* 2>/dev/null` for device in $devices do module=`egrep PHYSDEVDRIVER $device'/uevent' | cut -d '=' -f 2` -- cgit v1.2.3