mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
tail: adapt to windows-sys API change
This commit is contained in:
@@ -21,7 +21,7 @@ impl ProcessChecker {
|
||||
let FALSE: BOOL = 0;
|
||||
let h = unsafe { OpenProcess(PROCESS_SYNCHRONIZE, FALSE, process_id) };
|
||||
Self {
|
||||
dead: h == 0,
|
||||
dead: h.is_null(),
|
||||
handle: h,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user