summaryrefslogtreecommitdiff
path: root/extras/firmware
diff options
context:
space:
mode:
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
}