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") }