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

Commit 3250a0a2 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Preserve environment when launching overlay_remounter" into main

parents e1b8be74 7bcc189b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -749,7 +749,7 @@ void SetupOverlays() {
        PLOG(FATAL) << "Failed to unlink " << or_dest;
    }
    const char* args[] = {or_dest.c_str(), nullptr};
    fexecve(dest.get(), const_cast<char**>(args), nullptr);
    fexecve(dest.get(), const_cast<char**>(args), environ);

    // execv() only returns if an error happened, in which case we
    // panic and never return from this function.