From 67df0b309e6c84d6a5c6239706333848bd02c518 Mon Sep 17 00:00:00 2001 From: Alberto Sartori Date: Mon, 13 Nov 2023 16:01:41 +0100 Subject: just-serve: start a just-execute instance if the user does not provide... ...a remote execution end-point for just-serve. --- src/buildtool/main/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/buildtool/main/main.cpp') diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp index b6e7b63f..d6b06471 100644 --- a/src/buildtool/main/main.cpp +++ b/src/buildtool/main/main.cpp @@ -971,7 +971,8 @@ auto main(int argc, char* argv[]) -> int { if (arguments.cmd == SubCommand::kServe) { SetupServeServiceConfig(arguments.service); - if (!ServeServerImpl::Instance().Run()) { + if (!ServeServerImpl::Instance().Run( + !RemoteExecutionConfig::RemoteAddress())) { return kExitFailure; } return kExitSuccess; -- cgit v1.2.3