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

Commit 6036114f authored by Tom Cherry's avatar Tom Cherry
Browse files

Abort if __system_property_area_init fails

If __system_property_area_init() fails, there is a fundamental issue
with the system and we should abort from init.

Bug: 21852512
Change-Id: I05d7978ba3bcc347027a6d9443de7cdd229033d2
parent e36a85cd
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -79,7 +79,8 @@ void property_init() {
    property_area_initialized = true;

    if (__system_property_area_init()) {
        return;
        ERROR("Failed to initialize property area\n");
        exit(1);
    }

    pa_workspace.size = 0;