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

Commit be494848 authored by Elliott Hughes's avatar Elliott Hughes Committed by android-build-merger
Browse files

Merge "init: fix writepid wrong pid written in file(s)" am: 71862501

am: 880200c9

* commit '880200c9':
  init: fix writepid wrong pid written in file(s)
parents 8738be09 880200c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -416,7 +416,7 @@ bool Service::Start(const std::vector<std::string>& dynamic_args) {
            }
        }

        std::string pid_str = StringPrintf("%d", pid);
        std::string pid_str = StringPrintf("%d", getpid());
        for (const auto& file : writepid_files_) {
            if (!WriteStringToFile(pid_str, file)) {
                ERROR("couldn't write %s to %s: %s\n",