state_file: errors are non-fatal in read_state_file()

If the state file cannot be read, for whatever reason, don't abort
MPD.  The state file isn't _that_ important.
This commit is contained in:
Max Kellermann
2009-01-03 14:53:23 +01:00
parent 2064e8ac4c
commit dcff29e5aa
4 changed files with 24 additions and 29 deletions

1
NEWS
View File

@@ -9,6 +9,7 @@ ver 0.15 - (200?/??/??)
"log_file"
* support logging to syslog
* fall back to XDG music directory if no music_directory is configured
* failure to read the state file is non-fatal
ver 0.14 (2008/12/25)
* audio outputs: