From ca5c2f8f8a5e5655d6bd0163e87cb30dce29d5cc Mon Sep 17 00:00:00 2001 From: Pawan Wagh Date: Wed, 26 Apr 2023 20:52:49 +0000 Subject: [PATCH] Update return values in main Test: m gatekeeperd Bug: N/A Change-Id: I99fbdbcaf252e89ac38eda7fbc2b296158bd2af1 --- gatekeeperd/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gatekeeperd/main.cpp b/gatekeeperd/main.cpp index a05584a20..a01f9de00 100644 --- a/gatekeeperd/main.cpp +++ b/gatekeeperd/main.cpp @@ -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; }