On 22 July 2016 at 15:13, Khem Raj <raj.k...@gmail.com> wrote: > I think it will fail if the existing file is not a symlink ? >
No, the only difference between lexists and exists is that exists follows links. So in the case of a broken link, exists returns false. Ross
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core