From: Tobias Ulmer Date: Fri, 2 Sep 2016 09:19:25 +0000 (+0200) Subject: e2lib: document unlink_recursive() does not follow symlinks X-Git-Tag: e2factory-2.3.15rc1~111 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=8ff5d40e6561ea98f9323d859802a07b66faf430;p=e2factory.git e2lib: document unlink_recursive() does not follow symlinks Signed-off-by: Tobias Ulmer --- diff --git a/generic/e2lib.lua b/generic/e2lib.lua index 1f0cdab..389883a 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -1852,7 +1852,7 @@ function e2lib.unlink_recursive(pathname) filepath = e2lib.join(pathname, file) - de, re = e2lib.stat(filepath) + de, re = e2lib.stat(filepath, false) -- do not follow links if not de then return false, re end