alsactl: return error value in dump_config_tree()

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2021-06-04 09:53:56 +02:00
parent 3d7a6facd9
commit d6d566a9ee

View file

@ -170,7 +170,7 @@ static int dump_config_tree(snd_config_t *top)
return err; return err;
err = snd_config_save(top, out); err = snd_config_save(top, out);
snd_output_close(out); snd_output_close(out);
return 0; return err;
} }
static int dump_state(const char *file) static int dump_state(const char *file)