diff --git a/jni/daemon/daemon.c b/jni/daemon/daemon.c index bff8478d1..437397001 100644 --- a/jni/daemon/daemon.c +++ b/jni/daemon/daemon.c @@ -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) {