aboutsummaryrefslogtreecommitdiff
path: root/swaymsg
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-10-29 11:25:54 +0100
committeremersion <contact@emersion.fr>2018-10-29 11:25:54 +0100
commiteb675f0dfdb1fbfb54b608c706ace49685ca6f89 (patch)
tree553df97c6a378ccb5db8bf9870f0bc3b1646cd62 /swaymsg
parent1c2a356dcf43f2fbd633a2e2badabbfd4b9e6cb3 (diff)
swaymsg: fix get_outputs status code
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) {
json_object *success;
if (!json_object_object_get_ex(result, "success", &success)) {
- return false;
+ return true;
}
return json_object_get_boolean(success);