diff options
Diffstat (limited to 'src/state_file.c')
-rw-r--r-- | src/state_file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/state_file.c b/src/state_file.c index 3bc4f8f0c..2ce5e66b4 100644 --- a/src/state_file.c +++ b/src/state_file.c @@ -55,8 +55,7 @@ void write_state_file(void) if (!sfpath) return; - while (!(fp = fopen(sfpath, "w")) && errno == EINTR); - + fp = fopen(sfpath, "w"); if (mpd_unlikely(!fp)) { ERROR("problems opening state file \"%s\" for writing: %s\n", sfpath, strerror(errno)); |