]> git.ipfire.org Git - thirdparty/util-linux.git/commit
ipcs: consolidate output header printing
authorRuediger Meier <ruediger.meier@ga-group.nl>
Mon, 21 Mar 2016 13:04:45 +0000 (14:04 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 21 Mar 2016 20:03:42 +0000 (21:03 +0100)
commitfcae406394af6e1a5b298638fe017053c22ef9e8
tree3c2e379605d596f519b459d20867ea93806bfbae
parent4321c0f73221af20b32a172cf9f97af99f973387
ipcs: consolidate output header printing

Print a warning (instead of header) if --limits fails, like we did
it in past (2.20.1) and like we are still doing for --summary. Note
in past we were printing the same message like for --summary
"kernel not configured for ...", but actually this message is not
really correct.

This patch simply consolidates the current behavior. Probably we
should refactor it regarding warnings (stderr) and exit codes.

Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
sys-utils/ipcs.c