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

Commit 5ad06cbb authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "init: use do_exec() for init_user0"

parents 672dd970 5a86cb76
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -835,7 +835,9 @@ static int do_installkey(const std::vector<std::string>& args) {
}

static int do_init_user0(const std::vector<std::string>& args) {
    return e4crypt_do_init_user0();
    std::vector<std::string> exec_args = {"exec", "/system/bin/vdc", "--wait", "cryptfs",
                                          "init_user0"};
    return do_exec(exec_args);
}

const BuiltinFunctionMap::Map& BuiltinFunctionMap::map() const {