]> git.ipfire.org Git - thirdparty/systemd.git/commit
cgtop: Do not rewrite -P or -k options
authorMichal Koutný <mkoutny@suse.com>
Fri, 25 Nov 2022 16:50:27 +0000 (17:50 +0100)
committerMichal Koutný <mkoutny@suse.com>
Mon, 28 Nov 2022 13:29:49 +0000 (14:29 +0100)
commit48600b3524afe05d0faa8a5c88b5aaa53b801199
tree3a29ff6e9f71b4a43e745780438d99165d502b61
parentcf9c27b18b9d57de760da289de515948f8eaa4df
cgtop: Do not rewrite -P or -k options

--recursive=no will overwrite possible -P or -k option hence making the
recursive disabling impossible.

Check what counting types the system supports (encoded in the ordering
of our enum) of and pick whatever user requests but is also supported.

Fixes: #25248
src/cgtop/cgtop.c