Bug#840294: debianutils: run-parts always exits with 1, wished it was the highest exitcode or the parts that ran

2016-10-11 Thread Daniel Tryba
On Mon, Oct 10, 2016 at 04:48:53PM +, Clint Adams wrote: > > I'd prefer run-parts to return the highest exitcode of the scripts it > > ran. Diff below works for me (it it against 4.4 in stable, but source of > > 4.8 is no different in this regards). > > That seems like an odd choice for

Bug#840294: debianutils: run-parts always exits with 1, wished it was the highest exitcode or the parts that ran

2016-10-10 Thread Clint Adams
On Mon, Oct 10, 2016 at 11:29:19AM +0200, Daniel Tryba wrote: > I'd prefer run-parts to return the highest exitcode of the scripts it > ran. Diff below works for me (it it against 4.4 in stable, but source of > 4.8 is no different in this regards). That seems like an odd choice for default

Bug#840294: debianutils: run-parts always exits with 1, wished it was the highest exitcode or the parts that ran

2016-10-10 Thread Daniel Tryba
Package: debianutils Version: 4.4+b1 Severity: wishlist Dear Maintainer, I'm trying to use run-parts to perform some checks via nagios/nrpe. These scripts exit with 0 (OK), 1 (Warning), 2 (Crititcal). The run-parts executable itself always exits with 1 (if 1 script fails), so no matter the