From 2cc5a68e9798bc3226e2349fad5d3faa886368c1 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 21 Jun 2022 08:19:47 +0200 Subject: [PATCH] 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 --- ucm2/common/direct.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" } -- 2.47.1