[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-list] Re: problems with 'which' test for executables
Hey guys,
Thanks for the information. I changed the scripts to handle it
correctly. Instead of trusting the return code of which, I'm doing
an ls "`which $FILE`" to check if the return is valid from ls... I did
some tests and it worked correctly. It will be there for the next
version.
--
Daniel B. Cid
dcid @ ( at ) ossec.net
On 6/16/06, Jorge Augusto Senger <jorge@xxxxxxxxxxx> wrote:
>
> it happens under fedora 3 too.
> i disable the test on install.sh
>
> Leslie S Arvin wrote:
>
> >'which' under Solaris 8 and HP-UX 11.11 returns 0 even if
> >it fails.
> >
> >-- Leslie Arvin
> > arvin@xxxxxxxxxx, Office: FREH G409, Phone: 765-496-3971
> > Network Systems Administrator, ITI-Unix Platforms
> > Purdue University, Information Technology at Purdue
> >
> >>
> >
> >
> >
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
-~----------~----~----~----~------~----~------~--~---
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.