Bug#360778: [Pkg-nagios-devel] Bug#360778: nagios2: /etc/init.d/restart does not start nagios

sean finney seanius at debian.org
Tue Apr 4 18:55:16 UTC 2006


hi jim,

On Tue, Apr 04, 2006 at 12:50:35PM -0400, Jim Jensen wrote:
> --- /etc/init.d/nagios2		2006-04-04 10:35:07.783457264 -0400
> +++ /etc/init.d/nagios2~	2006-02-12 05:22:24.000000000 -0500
> @@ -181,7 +181,7 @@
>    restart)
>      log_daemon_msg "Restarting $DESC" "$NAME"
>      stop
> -    if [ -z "$?" -o "$?" == 0 ]; then
> +    if [ -z "$?" ]; then


hrm... shouldn't that be

if [ "$?" = "0" ];

?

	sean

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20060404/963f4e59/attachment.pgp


More information about the Pkg-nagios-devel mailing list