Update return values in main

Test: m gatekeeperd
Bug: N/A
Change-Id: I99fbdbcaf252e89ac38eda7fbc2b296158bd2af1
This commit is contained in:
Pawan Wagh 2023-04-26 20:52:49 +00:00
parent 71c918aa59
commit ca5c2f8f8a

View file

@ -38,7 +38,7 @@ int main(int argc, char* argv[]) {
android::String16("android.service.gatekeeper.IGateKeeperService"), proxy);
if (ret != android::OK) {
ALOGE("Couldn't register binder service!");
return -1;
return 1;
}
/*
@ -46,5 +46,5 @@ int main(int argc, char* argv[]) {
* Binder transaction as a single-threaded program.
*/
android::IPCThreadState::self()->joinThreadPool();
return 0;
return 1;
}