Lars: The recent update c6eee6c1911e risks non-portability. The main
issue is that the '-L' flag in "test -L" is not available in the Bourne
shell on some operating systems (one example is Solaris 8), causing syntax
errors.
I believe that '-h' has exactly the same meaning ("exists and is a
symbolic link"). More importantly, I believe that '-h' is available more
widely. (As a Venn diagram in OS space, I think that '-h' is a superset
of '-L'.)
Could you consider adjusting this '-L' to '-h', please? (And perhaps a
comment?)
(Are there any OSes likely to be used for heartbeat which don't have '-h'
at all?)
--
: David Lee I.T. Service :
: Senior Systems Programmer Computer Centre :
: UNIX Team Leader Durham University :
: South Road :
: http://www.dur.ac.uk/t.d.lee/ Durham DH1 3LE :
: Phone: +44 191 334 2752 U.K. :
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/