diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-10-29 19:08:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-29 19:08:41 +0100 |
commit | b90af3357030264a1a0def38f3feecb9056f3740 (patch) | |
tree | 553df97c6a378ccb5db8bf9870f0bc3b1646cd62 /swaymsg | |
parent | 1c2a356dcf43f2fbd633a2e2badabbfd4b9e6cb3 (diff) | |
parent | eb675f0dfdb1fbfb54b608c706ace49685ca6f89 (diff) |
Merge pull request #3020 from emersion/swaymsg-return-status
swaymsg: fix get_outputs status code
Diffstat (limited to 'swaymsg')
-rw-r--r-- | swaymsg/main.c | 2 |
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); |