mirror of
https://github.com/xzeldon/htop.git
synced 2025-02-19 17:33:25 +03:00

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.