From 29e17e4c7c7f8fe2b01ee68019ec7f3796f205ff Mon Sep 17 00:00:00 2001 From: Mike Westerhof Date: Sun, 14 Dec 2008 10:57:32 -0600 Subject: SlugOS: leds - fix extraneous error message issued on beeperless systems --- packages/slugos-init/files/leds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/slugos-init/files/leds b/packages/slugos-init/files/leds index c5ce2997cc..3a0333bcb8 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*` + devices=`ls -d /sys/class/input/event* 2>&1` for device in $devices do module=`egrep PHYSDEVDRIVER $device'/uevent' | cut -d '=' -f 2` -- cgit v1.2.3