diff options
Diffstat (limited to '')
-rw-r--r-- | src/sig_handlers.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sig_handlers.c b/src/sig_handlers.c index 06f7bf765..c3f1d787b 100644 --- a/src/sig_handlers.c +++ b/src/sig_handlers.c @@ -23,6 +23,7 @@ #include "command.h" #include "signal_check.h" #include "log.h" +#include "player.h" #include <signal.h> #include <sys/types.h> @@ -44,6 +45,8 @@ int handlePendingSignals() { readDirectoryDB(); incrPlaylistVersion(); } + if(myfprintfCloseAndOpenLogFile()<0) return COMMAND_RETURN_KILL; + playerCycleLogFiles(); } return 0; |