NetBpfLoad: remove exists log

Not actually needed, we already log the result.

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I8391825cb5171162afb9bdf8fdf695d9f85693cb
This commit is contained in:
Maciej Żenczykowski 2024-04-30 10:09:57 +00:00
commit 731acfe233

View file

@ -59,10 +59,7 @@ using std::string;
static bool exists(const char* const path) {
int v = access(path, F_OK);
if (!v) {
ALOGI("%s exists.", path);
return true;
}
if (!v) return true;
if (errno == ENOENT) return false;
ALOGE("FATAL: access(%s, F_OK) -> %d [%d:%s]", path, v, errno, strerror(errno));
abort(); // can only hit this if permissions (likely selinux) are screwed up