Merge "init: use do_exec() for init_user0"

am: 5ad06cbb1c

Change-Id: Id75cd629df7c73bdc2c7fe4fd8438f44a8c811b7
This commit is contained in:
Tom Cherry 2017-05-03 22:25:36 +00:00 committed by android-build-merger
commit 577c75e78c

View file

@ -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 {