Use setpriority() instead of nice() on UNIX-like systems.
authorGuus Sliepen <guus@tinc-vpn.org>
Sat, 20 Nov 2010 14:31:11 +0000 (14:31 +0000)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 20 Nov 2010 14:31:11 +0000 (14:31 +0000)
commitcac0a5c651535e8317839b0deff1ee98086a8184
treef1fc2012e69511fbbd9cb1919eda7634cc1aa866
parentd91903ef3c2a1f4481ae8757bb2b14282f2b7e68
Use setpriority() instead of nice() on UNIX-like systems.

The return value of nice() can not reliably indicate errors. The return value
of the setpriority() call is well-defined.
src/tincd.c