alsactl: update state file correctly when initialization failed
There was missing continue statement to save the correct state reporting. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
3f66770aa9
commit
bd1643809e
1 changed files with 1 additions and 0 deletions
|
|
@ -1738,6 +1738,7 @@ int load_state(const char *cfgdir, const char *file,
|
|||
if (err < 0) {
|
||||
finalerr = err;
|
||||
initfailed(iter.card, "init", err);
|
||||
continue;
|
||||
}
|
||||
initfailed(iter.card, "restore", -ENOENT);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue