]> 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>
Mon, 1 Jul 2013 09:07:19 +0000 (11:07 +0200)
commit665b3c85721e8653bef0c41d0f455e1aebbd2208
treeff08ef8f2daaa60e0d39da88ad3a5152f02fbc69
parent4096946f3b4c502345ff40d22139a0c5b7e11d52
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