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

Commit a48dc55f authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "More idiomatic cleanup of 9f75a035."

parents 57134ade 9e7893bf
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -53,8 +53,7 @@ static void drop_capabilities_bounding_set_if_needed() {
            continue;
        }

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