Fix bug that cause boot delay

This commit is contained in:
topjohnwu 2017-10-14 00:19:13 +08:00
parent 594a67fe28
commit d1b9eca5eb
1 changed files with 1 additions and 1 deletions

View File

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