diff --git a/src/context.zig b/src/context.zig index 6951f5f..e99b6a1 100644 --- a/src/context.zig +++ b/src/context.zig @@ -245,7 +245,7 @@ pub const Context = struct { // While the program is running, the lock is enabled. // Once the program stops (even if it crashes), the lock is then disabled. // Quit if the lock is still active. - const lock_opts = .{ .lock = .Exclusive, .lock_nonblocking = true }; + const lock_opts = .{ .lock = .exclusive, .lock_nonblocking = true }; _ = std.fs.createFileAbsolute(lock, lock_opts) catch |err| { log.err("cannot init server at {s}, lock {s} is causing a problem: {any}", .{ path, lock, err }); log.err("you may have lauched the service twice.", .{});