aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/seat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/seat.c')
-rw-r--r--sway/commands/seat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/seat.c b/sway/commands/seat.c
index 5b23dcc6..aa36ba95 100644
--- a/sway/commands/seat.c
+++ b/sway/commands/seat.c
@@ -50,5 +50,5 @@ struct cmd_results *cmd_seat(int argc, char **argv) {
50 } 50 }
51 51
52 config->handler_context.seat_config = NULL; 52 config->handler_context.seat_config = NULL;
53 return cmd_results_new(CMD_SUCCESS, NULL); 53 return res ? res : cmd_results_new(CMD_SUCCESS, NULL);
54} 54}