mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-03 03:32:37 +00:00
typo - inverted logic
This commit is contained in:
@@ -285,7 +285,7 @@ _current_process_info :: proc(selection: Process_Info_Fields, allocator: runtime
|
||||
_process_open :: proc(pid: int, _: Process_Open_Flags) -> (process: Process, err: Error) {
|
||||
process.pid = pid
|
||||
process.handle = PIDFD_UNASSIGNED
|
||||
if _has_pidfd_open() {
|
||||
if !_has_pidfd_open() {
|
||||
return process, .Unsupported
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user