aboutsummaryrefslogtreecommitdiffstats
path: root/swaymsg
diff options
context:
space:
mode:
Diffstat (limited to 'swaymsg')
-rw-r--r--swaymsg/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index 4688737c..3c984225 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -23,7 +23,7 @@ static bool success_object(json_object *result) {
23 json_object *success; 23 json_object *success;
24 24
25 if (!json_object_object_get_ex(result, "success", &success)) { 25 if (!json_object_object_get_ex(result, "success", &success)) {
26 return false; 26 return true;
27 } 27 }
28 28
29 return json_object_get_boolean(success); 29 return json_object_get_boolean(success);