mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-26 00:49:38 +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() {
|
err() {
|
||||||
echo "$@" >&2
|
echo "$@" >&2
|
||||||
if type logger >/dev/null; then
|
logger -t "${0##*/}[$$]" "$@" 2>/dev/null || true
|
||||||
logger -t "${0##*/}[$$]" "$@"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -e /sys$DEVPATH/loading ]; then
|
if [ ! -e /sys$DEVPATH/loading ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user