• Max Kellermann's avatar
    main: create database after daemonization · 37bcd711
    Max Kellermann authored
    When the update thread is started before MPD has forked (for
    daemonization), it is killed, because threads do not survive a fork().
    This induces an inconsistent state where MPD won't start any update
    thread at all, because it thinks the thread is already running.
    37bcd711
main.c 7.36 KB