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

Commit 9e7893bf authored by Elliott Hughes's avatar Elliott Hughes
Browse files

More idiomatic cleanup of 9f75a035.

Change-Id: Id936946375d2be56ba10bf3aa5804f52cdbecc2d
parent 57134ade
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -53,8 +53,7 @@ static void drop_capabilities_bounding_set_if_needed() {
            continue;
            continue;
        }
        }


        int err = prctl(PR_CAPBSET_DROP, i, 0, 0, 0);
        if (prctl(PR_CAPBSET_DROP, i, 0, 0, 0) == -1) {
        if (err < 0) {
            PLOG(FATAL) << "Could not drop capabilities";
            PLOG(FATAL) << "Could not drop capabilities";
        }
        }
    }
    }