Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f9735b2 authored by George Burgess IV's avatar George Burgess IV
Browse files

Remove useless mode bits

Looks like a rebase of I099808fd13bf9ed9a564b122f1126b1691a83291
accidentally wiped out part of
I5d9b98152e48135ea716592b28c5c771cc74018b.

This reapplies the part that was undone.

Bug: 64132680
Test: mma.
Change-Id: If213996103c3988e8a609c266a59a2791675fd0a
parent 5e5c1275
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -119,7 +119,7 @@ FileSection::~FileSection() {}
status_t FileSection::Execute(ReportRequestSet* requests) const {
    // read from mFilename first, make sure the file is available
    // add O_CLOEXEC to make sure it is closed when exec incident helper
    int fd = open(mFilename, O_RDONLY | O_CLOEXEC, 0444);
    int fd = open(mFilename, O_RDONLY | O_CLOEXEC);
    if (fd == -1) {
       ALOGW("FileSection '%s' failed to open file", this->name.string());
       return -errno;