From 0b9fb54b024033c6d6298d70f5ceade5a842fd2b Mon Sep 17 00:00:00 2001 From: Oliver Giles Date: Tue, 15 Aug 2017 08:41:53 +0300 Subject: [PATCH] laminarc: read LAMINAR_BIND_RPC --- src/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client.cpp b/src/client.cpp index fddcb09..59b89e5 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -77,7 +77,7 @@ int main(int argc, char** argv) { } int ret = 0; - const char* address = getenv("LAMINAR_HOST") ?: "unix-abstract:laminar"; + const char* address = getenv("LAMINAR_HOST") ?: getenv("LAMINAR_BIND_RPC") ?: "unix-abstract:laminar"; capnp::EzRpcClient client(address); LaminarCi::Client laminar = client.getMain();