From 5e1ba06ebea4a7d3e510a721ef1a1cf17ff3c4a0 Mon Sep 17 00:00:00 2001 From: Milarin Date: Mon, 26 Aug 2024 22:00:04 +0200 Subject: [PATCH] fixed missing negation in WaitForClient --- get_clients.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get_clients.go b/get_clients.go index 01a8717..3a8e1f7 100644 --- a/get_clients.go +++ b/get_clients.go @@ -96,7 +96,7 @@ func WaitForClient(ctx context.Context, signature string) (*Client, error) { return nil, err } - if client.WaitUntilReachable(context.Background()) { + if !client.WaitUntilReachable(context.Background()) { return nil, errors.New("hyprland not reachable") }