aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index b92ef6abd..671363b97 100644
--- a/src/main.c
+++ b/src/main.c
@@ -431,9 +431,8 @@ int main(int argc, char *argv[])
openVolumeDevice();
read_state_file();
- while (COMMAND_RETURN_KILL != doIOForInterfaces()) {
- if (COMMAND_RETURN_KILL == handlePendingSignals())
- break;
+ while (COMMAND_RETURN_KILL != doIOForInterfaces() &&
+ COMMAND_RETURN_KILL != handlePendingSignals()) {
syncPlayerAndPlaylist();
closeOldInterfaces();
readDirectoryDBIfUpdateIsFinished();