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

Commit 5a1d5a8c authored by Kenny Root's avatar Kenny Root Committed by Gerrit Code Review
Browse files

Merge "ueventd: call _exit for safety"

parents 3cebf9f8 17baff48
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -938,7 +938,9 @@ static void handle_firmware_event(struct uevent *uevent)
    pid = fork();
    if (!pid) {
        process_firmware_event(uevent);
        exit(EXIT_SUCCESS);
        _exit(EXIT_SUCCESS);
    } else if (pid < 0) {
        log_event_print("could not fork to process firmware event: %s\n", strerror(errno));
    }
}