X-Git-Url: http://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=usr_bin%2Fsoundtest;h=dc57bf3e57a619eefd19c42c6bee2fe5338d6e5a;hb=3b7f948896440f41092f14347b17ce114072c569;hp=6146df7f4bcc4b433ac77ec7086d2bd9ff33a42b;hpb=62b5941cf7686912cd1bfbb8f9715ace067539b9;p=grml-scripts.git diff --git a/usr_bin/soundtest b/usr_bin/soundtest index 6146df7..dc57bf3 100755 --- a/usr_bin/soundtest +++ b/usr_bin/soundtest @@ -6,7 +6,7 @@ # License: This file is licensed under the GPL v2. ################################################################################ -if ! [ $(which speaker-test) ] ; then +if ! [ "$(command -v speaker-test)" ] ; then echo "Sorry, speaker-test (from alsa-utils) not available.">&2 exit 1 fi