Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb809351 authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Always unlink /dev/__kmsg__."

parents 6d457fe1 c02f81cc
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -43,9 +43,6 @@ void klog_init(void) {
    static const char* name = "/dev/__kmsg__";
    if (mknod(name, S_IFCHR | 0600, (1 << 8) | 11) == 0) {
        klog_fd = open(name, O_WRONLY | O_CLOEXEC);
        if (klog_fd == -1) {
            return;
        }
        unlink(name);
    }
}