]> git.ipfire.org Git - thirdparty/coreutils.git/commit
nice: execute program even when setpriority fails due to EACCES
authorJim Meyering <meyering@redhat.com>
Sat, 24 Oct 2009 11:50:13 +0000 (13:50 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 26 Oct 2009 07:25:34 +0000 (08:25 +0100)
commit501bf7b589e8c63c408c86fce5bb9902ae019017
treebb481650db8dc23e5a0a0bdd528677eb1bec73bd
parent69fbfd400c8000e7a7aeed399476c6d9c002a0bc
nice: execute program even when setpriority fails due to EACCES

* src/nice.c (perm_related_errno): New function.
(main): Use it, rather than testing only errno == EPERM.
* NEWS (Bug fixes): Mention it.
NEWS
src/nice.c