aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--swaymsg/main.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/swaymsg/main.c b/swaymsg/main.c
index 39882293..4283bf00 100644
--- a/swaymsg/main.c
+++ b/swaymsg/main.c
@@ -26,11 +26,7 @@ static bool success_object(json_object *result) {
26 return false; 26 return false;
27 } 27 }
28 28
29 if (!json_object_get_boolean(success)) { 29 return json_object_get_boolean(success);
30 return false;
31 }
32
33 return true;
34} 30}
35 31
36// Iterate results array and return false if any of them failed 32// Iterate results array and return false if any of them failed