mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
Merge branch 'hishamhm-pull-970'
This commit is contained in:
commit
fed14a584d
@ -763,7 +763,11 @@ static bool LinuxProcessList_readCmdlineFile(Process* process, const char* dirna
|
||||
int tokenEnd = 0;
|
||||
int lastChar = 0;
|
||||
if (amtRead == 0) {
|
||||
((LinuxProcess*)process)->isKernelThread = true;
|
||||
if (process->state == 'Z') {
|
||||
process->basenameOffset = 0;
|
||||
} else {
|
||||
((LinuxProcess*)process)->isKernelThread = true;
|
||||
}
|
||||
return true;
|
||||
} else if (amtRead < 0) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user