mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-28 06:35:34 +07:00
firmware: do not print error if logger is missing
This commit is contained in:
parent
dab3fe36cf
commit
6e9edde6c9
@ -4,9 +4,7 @@ FIRMWARE_DIRS="/lib/firmware /usr/local/lib/firmware"
|
||||
|
||||
err() {
|
||||
echo "$@" >&2
|
||||
if type logger >/dev/null; then
|
||||
logger -t "${0##*/}[$$]" "$@"
|
||||
fi
|
||||
logger -t "${0##*/}[$$]" "$@" 2>/dev/null || true
|
||||
}
|
||||
|
||||
if [ ! -e /sys$DEVPATH/loading ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user