From eb675f0dfdb1fbfb54b608c706ace49685ca6f89 Mon Sep 17 00:00:00 2001 From: emersion Date: Mon, 29 Oct 2018 11:25:54 +0100 Subject: swaymsg: fix get_outputs status code --- swaymsg/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3