diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-10-16 00:50:48 +0200 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2007-10-16 00:50:48 +0200 |
commit | dab3fe36cfad807bb9cb8389b1c95825a4b04e6b (patch) | |
tree | 3f471779db7bc1fe7efda80aa50bd79a6520765c | |
parent | 80f7d89ac4bd1d6c3d03746910054536efe4d64c (diff) |
firmware: remove hardcoded path to logger
-rwxr-xr-x | extras/firmware/firmware.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/firmware/firmware.sh b/extras/firmware/firmware.sh index 89b985ef3b..49845bad0f 100755 --- a/extras/firmware/firmware.sh +++ b/extras/firmware/firmware.sh @@ -4,8 +4,8 @@ FIRMWARE_DIRS="/lib/firmware /usr/local/lib/firmware" err() { echo "$@" >&2 - if [ -x /bin/logger ]; then - /bin/logger -t "${0##*/}[$$]" "$@" + if type logger >/dev/null; then + logger -t "${0##*/}[$$]" "$@" fi } |