diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/slugos-init/files/leds | 2 |
1 files changed, 1 insertions, 1 deletions
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` |