23 May
2007
23 May
'07
12:33 p.m.
On Wed, May 23, 2007 at 10:21:36AM +0100, Mike Rowell wrote:
Is it possible to use the FILES check to check is a file exists and is a symlink, in our architecture we use symlinks for a live/fallow setup on some systems switching between the directories during certain tasks, what I need to check is that a file inside the current live directory exists and is a symlink.
The obvious answer would be a FILE check with "type=symlink", but alas that hasn't been implemented.
A completely untested patch would be the following. Let me know if it works.
Regards, Henrik