[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#562506: init scripts should not use set -e

On Mon, Dec 28, 2009 at 03:44:53PM -0800, Russ Allbery wrote:
> That seems reasonable, although I think we should also point out the
> problems with using set -e when starting a daemon, namely that you need to
> be sure to wrap the start-stop-daemon invocation in a conditional so that
> you can properly report errors, rather than just letting the init script
> die.

set -e produces problems like this: #546743.


He's dead, Jim.
		-- McCoy, "The Devil in the Dark", stardate 3196.1

Reply to: