mirror of
https://github.com/xzeldon/htop.git
synced 2025-02-07 12:23:38 +03:00
47cf1532b0
Use the same method that ps and top use to determine if a process is a kernel thread on Linux: check if cmdline is empty. Thanks to @wangqr's investigation reported here: https://github.com/hishamhm/htop/issues/761#issuecomment-375306069 Fixes #761.