fixed missing negation in WaitForClient
This commit is contained in:
parent
2b5b3f84cb
commit
5e1ba06ebe
@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user