aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-29 19:08:41 +0100
committerGitHub <noreply@github.com>2018-10-29 19:08:41 +0100
commitb90af3357030264a1a0def38f3feecb9056f3740 (patch)
tree553df97c6a378ccb5db8bf9870f0bc3b1646cd62
parent1c2a356dcf43f2fbd633a2e2badabbfd4b9e6cb3 (diff)
parenteb675f0dfdb1fbfb54b608c706ace49685ca6f89 (diff)
Merge pull request #3020 from emersion/swaymsg-return-status
swaymsg: fix get_outputs status code
-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);