From fadfa79d7aaff5f5be0618125cad82de0bb74dba Mon Sep 17 00:00:00 2001 From: Wiktor Garbacz Date: Sun, 24 Sep 2023 23:46:23 -0700 Subject: [PATCH] Add missing return PiperOrigin-RevId: 568125662 Change-Id: If9d4990de32c9503a2b78393b944d6bcb58c5477 --- sandboxed_api/sandbox2/global_forkclient.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/sandboxed_api/sandbox2/global_forkclient.cc b/sandboxed_api/sandbox2/global_forkclient.cc index 0ec5132e..8a6231e5 100644 --- a/sandboxed_api/sandbox2/global_forkclient.cc +++ b/sandboxed_api/sandbox2/global_forkclient.cc @@ -259,6 +259,7 @@ void GlobalForkClient::EnsureStartedLocked(GlobalForkserverStartMode mode) { if (!forkserver.ok()) { SAPI_RAW_LOG(ERROR, "Starting forkserver failed: %s", forkserver.status().message().data()); + return; } instance_ = forkserver->release(); }