use hex for checking and &

This commit is contained in:
Zane C. B-H 2019-01-07 05:31:59 -06:00
parent 02c1440a42
commit 3530121bc1
1 changed files with 2 additions and 1 deletions

View File

@ -223,7 +223,8 @@ sub colorize{
#may possible be a zombie, run checks for on FreeBSD
if (
($^O =~ /bsd/) &&
($proc->{flags} =~ /2..$/)
( hex($proc->flags) & 0x00200000 )
#($proc->{flags} =~ /2..$/)
){
$kernel_proc=1;
}