]> git.ipfire.org Git - thirdparty/util-linux.git/commit
renice: exit with non-zero value when arguments cause warnings
authorSami Kerola <kerolasa@iki.fi>
Sun, 16 Jun 2013 18:53:42 +0000 (19:53 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 30 Jul 2013 09:01:10 +0000 (11:01 +0200)
commitff31f3a9571b105e5439f88ab03fcb0a23472594
treebcbb6c7750cf63e88e2daeb9cf42117e79c99ce5
parentacfd04b7c3cb11333578eead7eb08a69bdcfb8a1
renice: exit with non-zero value when arguments cause warnings

This commit also fixes potential error counter wrap, which theoretically
could make command to exit with a success when it internally failed just
correct amount of times.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/renice.c