Update return values in main
Test: m gatekeeperd Bug: N/A Change-Id: I99fbdbcaf252e89ac38eda7fbc2b296158bd2af1
This commit is contained in:
parent
71c918aa59
commit
ca5c2f8f8a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue