Fix bug that cause boot delay

This commit is contained in:
topjohnwu 2017-10-14 00:19:13 +08:00
parent 594a67fe28
commit d1b9eca5eb

View File

@ -170,7 +170,7 @@ void start_daemon() {
unlock_blocks(); unlock_blocks();
// Notifiy init the daemon is started // Notifiy init the daemon is started
close(xopen(UNBLOCKFILE, O_RDONLY)); close(xopen(UNBLOCKFILE, O_RDONLY | O_CREAT));
// Loop forever to listen for requests // Loop forever to listen for requests
while(1) { while(1) {