Merge "init: use do_exec() for init_user0"
am: 5ad06cbb1c
Change-Id: Id75cd629df7c73bdc2c7fe4fd8438f44a8c811b7
This commit is contained in:
commit
577c75e78c
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue