diff options
Diffstat (limited to '')
-rw-r--r-- | src/sig_handlers.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/sig_handlers.c b/src/sig_handlers.c index e4ac21f22..5a4ebe57d 100644 --- a/src/sig_handlers.c +++ b/src/sig_handlers.c @@ -19,7 +19,8 @@ #include "sig_handlers.h" #include "playlist.h" -#include "directory.h" +#include "database.h" +#include "update.h" #include "command.h" #include "signal_check.h" #include "log.h" @@ -35,7 +36,7 @@ int handlePendingSignals(void) DEBUG("got SIGHUP, rereading DB\n"); signal_clear(SIGHUP); if (!isUpdatingDB()) { - readDirectoryDB(); + db_load(); playlistVersionChange(); } if (cycle_log_files() < 0) |