fixed missing negation in WaitForClient

This commit is contained in:
Milarin 2024-08-26 22:00:04 +02:00
parent 2b5b3f84cb
commit 5e1ba06ebe

View File

@ -96,7 +96,7 @@ func WaitForClient(ctx context.Context, signature string) (*Client, error) {
return nil, err return nil, err
} }
if client.WaitUntilReachable(context.Background()) { if !client.WaitUntilReachable(context.Background()) {
return nil, errors.New("hyprland not reachable") return nil, errors.New("hyprland not reachable")
} }