]> git.alsa-project.org Git - alsa-utils.git/commit
alsa-info: Don't access non-existing module parameters
authorTakashi Iwai <tiwai@suse.de>
Wed, 16 Sep 2026 12:59:32 +0000 (14:59 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 16 Sep 2026 13:19:58 +0000 (15:19 +0200)
commitcd6c92333b735ec93dea45731671d263601bc464
treef07bda0afcc1c00760d2d4ed2743123d440e64e0
parent63bfc4e3666529918d7bea633b9568373ac157d0
alsa-info: Don't access non-existing module parameters

Some modules are without any parameters, and there are no "parameters"
subdirectories for such modules.  Since alsa-info.sh tries to access
modules/* files, this results in (non-fatal) errors.

Add the check of the parameters subdirectory before accessing the
actual parameter files for avoiding such errors.

Link: https://bugzilla.suse.com/show_bug.cgi?id=1279431
Signed-off-by: Takashi Iwai <tiwai@suse.de>
alsa-info/alsa-info.sh