[Pkg-nagios-devel] Bug#722261: icinga-common: Please do not use "set -e" in initscripts
Laurent Bigonville
bigon at debian.org
Mon Sep 9 14:39:58 UTC 2013
Package: icinga-common
Version: 1.9.3-2
Severity: normal
Hi,
You are currently using "set -e" in your initscript. This is generally
discouraged when using lsb logging as it prevent the status to be
printed in case the daemon is not starting properly.
It seems that removing "set -e" is not enough as even if the daemon is
failing to start, the script will returns 0.
Cheers
Laurent Bigonville
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.10-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the Pkg-nagios-devel
mailing list