]> git.ipfire.org Git - thirdparty/util-linux.git/commit
prlimit: show all limits if called without options
authorBernhard Voelker <mail@bernhard-voelker.de>
Mon, 14 Nov 2011 01:47:57 +0000 (02:47 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 16 Nov 2011 09:24:28 +0000 (10:24 +0100)
commit8f71d37bc5c98ee209dcaa14356546724a95c541
treeb13f21bd6ff40a06a3df154f2f950e32479bc4d6
parentf126cd4694908db5e01d66f2c206d42312bb64c2
prlimit: show all limits if called without options

Fix option parsing: prlimit ran into usage() if called
without arguments which should only be done for surplus
arguments. Instead, it should display all limits.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
sys-utils/prlimit.c