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:
parent
5fa38290ec
commit
731acfe233
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue