diff options
| author | jason <jkercher43@gmail.com> | 2024-07-24 10:12:16 -0400 |
|---|---|---|
| committer | jason <jkercher43@gmail.com> | 2024-07-24 10:12:16 -0400 |
| commit | 95a8a4e7f027e5711fb5a8f63c8a5a9a94c06d0e (patch) | |
| tree | 1ba9a4c3a7be42061fd28fafa858be25514c47ad | |
| parent | ecdd3887b28de42e9a023258a0c5ebbe26d3e7ab (diff) | |
typo - inverted logic
| -rw-r--r-- | core/os/os2/process_linux.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os2/process_linux.odin b/core/os/os2/process_linux.odin index f8da3ea08..89d54d272 100644 --- a/core/os/os2/process_linux.odin +++ b/core/os/os2/process_linux.odin @@ -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 } |