log cycling and a few cleanups
git-svn-id: https://svn.musicpd.org/mpd/trunk@772 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user