Commit d1b9eca5 authored by topjohnwu's avatar topjohnwu

Fix bug that cause boot delay

parent 594a67fe
...@@ -170,7 +170,7 @@ void start_daemon() { ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment