diff --git a/audio/7.0/config/update_audio_policy_config.sh b/audio/7.0/config/update_audio_policy_config.sh index 159fa35946..c475dd17f0 100755 --- a/audio/7.0/config/update_audio_policy_config.sh +++ b/audio/7.0/config/update_audio_policy_config.sh @@ -41,7 +41,7 @@ set -euo pipefail -if (echo "$@" | grep -qe -h); then +if (echo "$@" | grep -qe "^-h"); then echo "This script will update Audio Policy Manager config file" echo "to the format required by V7.0 XSD schema from a previous" echo "version."