aboutsummaryrefslogtreecommitdiff
path: root/seatd/seat.c
diff options
context:
space:
mode:
Diffstat (limited to 'seatd/seat.c')
-rw-r--r--seatd/seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/seatd/seat.c b/seatd/seat.c
index ab0e338..eb17e7b 100644
--- a/seatd/seat.c
+++ b/seatd/seat.c
@@ -106,7 +106,7 @@ int seat_remove_client(struct seat *seat, struct client *client) {
client->seat = NULL;
log_debug("removed client");
- return found ? -1 : 0;
+ return found ? 0 : -1;
}
struct seat_device *seat_find_device(struct client *client, int device_id) {