monit-dev
[Top][All Lists]
Advanced

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

Re: monit control.c


From: rory
Subject: Re: monit control.c
Date: Wed, 9 Oct 2002 09:43:48 -0700 (PDT)

> Rory Toma <address@hidden> writes:
>
>> Hmmm... Seems to work OK when I tested it, but...
>
> It can work by chance. See also
> http://www.eskimo.com/~scs/C-faq/q7.5.html
>
>> Can you revert the change, then?
>
> Why not use your modification it looks better, but with this small
> modification :-)

The main reason for trying to do it was to get rid of having to having to
do

if stuff...
  p->start;
else if stuff...
  p->stop;

and wanting to do

if check_script
   c;

I'll figure out another way of doing it. Too bad it's not perl. In the
meantime, I wanted to leave a working version checked in.>
> --
> Jan-Henrik Haukeland
>
>
> _______________________________________________
> monit-dev mailing list
> address@hidden
> http://mail.freesoftware.fsf.org/mailman/listinfo/monit-dev







reply via email to

[Prev in Thread] Current Thread [Next in Thread]