Skip to content

Commit c32bbf8

Browse files
authored
Update verify-kernel-boot-log.sh
Signed-off-by: harajend <hariprasad.rajendra@intel.com>
1 parent 097a791 commit c32bbf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-case/verify-kernel-boot-log.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ dmic_switch_present()
116116
# name= is hardcoded in /usr/share/alsa/ucm2/*
117117
# This returns a non-zero error status on failure
118118
switch=$(aplay -l | head -2 | tail -1 | awk '{print $3}')
119-
amixer -c $switch cget name='Dmic0 Capture Switch'
119+
amixer -c "$switch" cget name='Dmic0 Capture Switch'
120120
)
121121
}
122122

0 commit comments

Comments
 (0)