+Mon Jul 16 12:55:49 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
+
+ * utils/start-stop-daemon.c: Fix test for nice(2) failure
+
Mon Jul 16 12:44:51 CEST 2001 Wichert Akkerman <wakkerma@debian.org>
* dselect/dselect.h: make baselist::setheights() virtual
* Make colours in dselect user-configurable. Closes: Bug#103994
* Make Q do an abort in the method selection menu to make things more
consistent with the package list
+ * Fix test for nice(2) failure in start-stop-daemon. Closes: Bug#104561
-- Wichert Akkerman <wakkerma@debian.org> UNRELEASED
dup(fd); /* stderr */
}
if (nicelevel) {
- if (nice(nicelevel))
+ if (nice(nicelevel)==-1)
fatal("Unable to alter nice level by %i: %s", nicelevel,
strerror(errno));
}