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

Attachment: signature.asc
Description: Digital signature

Reply via email to