summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMike Westerhof <mwester@dls.net>2008-12-14 10:57:32 -0600
committerMike Westerhof <mwester@dls.net>2008-12-14 10:57:32 -0600
commit29e17e4c7c7f8fe2b01ee68019ec7f3796f205ff (patch)
treed2164672ece7546efcfa30084ab078a868c9a65c /packages
parent01d4ffb5c9229559938dde29f29c77404189870a (diff)
SlugOS: leds - fix extraneous error message issued on beeperless systems
Diffstat (limited to 'packages')
-rw-r--r--packages/slugos-init/files/leds2
1 files changed, 1 insertions, 1 deletions
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`