summaryrefslogtreecommitdiff
path: root/extras/firmware
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-10-16 00:50:48 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-10-16 00:50:48 +0200
commitdab3fe36cfad807bb9cb8389b1c95825a4b04e6b (patch)
tree3f471779db7bc1fe7efda80aa50bd79a6520765c /extras/firmware
parent80f7d89ac4bd1d6c3d03746910054536efe4d64c (diff)
firmware: remove hardcoded path to logger
Diffstat (limited to 'extras/firmware')
-rwxr-xr-xextras/firmware/firmware.sh4
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
}