From: Jaroslav Kysela Date: Tue, 21 Jun 2022 06:19:47 +0000 (+0200) Subject: common: direct - fix the case where DirectCardName variable is undefined X-Git-Tag: v1.2.7.2~16 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=2cc5a68e9798bc3226e2349fad5d3faa886368c1;p=alsa-ucm-conf.git common: direct - fix the case where DirectCardName variable is undefined Fixes: https://github.com/alsa-project/alsa-ucm-conf/issues/175 Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/common/direct.conf b/ucm2/common/direct.conf index f69cbc9..3bb0dac 100644 --- a/ucm2/common/direct.conf +++ b/ucm2/common/direct.conf @@ -1,7 +1,7 @@ If.direct { Condition { Type String - Empty "${var:DirectCardName}" + Empty "${var:-DirectCardName}" } True.Define.DirectCardName "${CardName}" }