OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Subject: Re: INSTALL.sh
From: Arne K. Haaje (arnehaaje.com)
Date: Mon May 22 2000 - 03:31:14 CDT


Matthias Andree wrote:
>
> wietseporcupine.org (Wietse Venema) writes:
>
> > Warning, test -f follows symlinks.
>
> Bewilderedly staring at the COMPATIBILTY section of the Linux and NetBSD
> fstat(2) man pages, I think this problem is non-trivial.
>
> --
> Matthias Andree
>
> Where do you think you're going today?

Instead of test perhaps find can be used ?

find /usr/lib -name sendmail -type l

should test true if /usr/lib/sendmail is a link.

Arne

-- 
--------------------------------
Arne K. Haaje	| T: 69 92 04 90
Enebakkveien 2	| F: 69 92 04 91
1625 Tomter	| M: 92 88 44 66
--------------------------------