diff --git a/sandboxed_api/sandbox2/testcases/namespace.cc b/sandboxed_api/sandbox2/testcases/namespace.cc index 8742b97..21e0d14 100644 --- a/sandboxed_api/sandbox2/testcases/namespace.cc +++ b/sandboxed_api/sandbox2/testcases/namespace.cc @@ -57,7 +57,7 @@ int main(int argc, char* argv[]) { case 2: { if (getpid() != 2) { - return getpid(); + return -1; } } break; @@ -68,7 +68,7 @@ int main(int argc, char* argv[]) { if (getuid() != atoi(argv[2]) // NOLINT(runtime/deprecated_fn) || getgid() != atoi(argv[3])) { // NOLINT(runtime/deprecated_fn) - return getuid(); + return -1; } } break;