mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-12 01:36:22 -04:00
typo - inverted logic
This commit is contained in:
1 parent
ecdd3887b2
commit
95a8a4e7f0
1 file changed
+1
-1
@@ -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