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

Commit 923c3251 authored by Nick Kralevich's avatar Nick Kralevich Committed by android-build-merger
Browse files

Merge "Add O_CLOEXEC" am: 62833808

am: fdbcccb9

Change-Id: If58aa5312ef778b960c979a94b1bf4132753dfa8
parents 72756f3e fdbcccb9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -746,7 +746,7 @@ void load_recovery_id_prop() {
        return;
    }

    int fd = open(rec->blk_device, O_RDONLY);
    int fd = open(rec->blk_device, O_RDONLY | O_CLOEXEC);
    if (fd == -1) {
        PLOG(ERROR) << "error opening block device " << rec->blk_device;
        return;