From: Matthias Schwarzott Date: Mon, 15 Oct 2007 22:50:48 +0000 (+0200) Subject: firmware: remove hardcoded path to logger X-Git-Tag: 174~1802 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dab3fe36cfad807bb9cb8389b1c95825a4b04e6b;p=systemd firmware: remove hardcoded path to logger --- diff --git a/extras/firmware/firmware.sh b/extras/firmware/firmware.sh index 89b985ef..49845bad 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 }